Click here to Skip to main content
15,895,142 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Multilingual application using vc++.net in visual studio 2005 Pin
Hamid_RT6-Feb-09 20:27
Hamid_RT6-Feb-09 20:27 
GeneralRe: Multilingual application using vc++.net in visual studio 2005 Pin
Purish Dwivedi6-Feb-09 21:32
Purish Dwivedi6-Feb-09 21:32 
GeneralRe: Multilingual application using vc++.net in visual studio 2005 Pin
Hamid_RT7-Feb-09 8:09
Hamid_RT7-Feb-09 8:09 
QuestionError of database "String data, right truncated" Pin
Le@rner6-Feb-09 17:39
Le@rner6-Feb-09 17:39 
AnswerRe: Error of database "String data, right truncated" Pin
Hamid_RT6-Feb-09 20:34
Hamid_RT6-Feb-09 20:34 
AnswerRe: Error of database "String data, right truncated" Pin
Stuart Dootson6-Feb-09 20:55
professionalStuart Dootson6-Feb-09 20:55 
AnswerRe: Error of database "String data, right truncated" Pin
Rajesh R Subramanian7-Feb-09 5:28
professionalRajesh R Subramanian7-Feb-09 5:28 
Questionsystem() not working (in C) Pin
Gjm6-Feb-09 13:23
Gjm6-Feb-09 13:23 
I cannot execute the following code properly.
I just need to see the system function to work.
It always return a -1 (error) when I printf the function.
What could be the problem. I dont know how to use the system function.
Anybody plz try this code & type the correct code for me.


#include <stdlib.h>
#include <stdio.h>
#include<dos.h>
#include<conio.h>
void main()
{ clrscr();
printf("About to spawn command interpreter and run a DOS command\n");
printf("%d",system("dir")); //NOT WORKING...printing a -1(ERROR)
system("dir"); //NOT WORKING---I can't see anything in screen.
getch();
}
AnswerRe: system() not working (in C) Pin
N a v a n e e t h6-Feb-09 16:07
N a v a n e e t h6-Feb-09 16:07 
AnswerRe: system() not working (in C) Pin
«_Superman_»6-Feb-09 16:34
professional«_Superman_»6-Feb-09 16:34 
QuestionWM5 screen tap capture or check box Pin
uzziah06-Feb-09 11:12
uzziah06-Feb-09 11:12 
AnswerTHIS IS DRIVING ME CRAZY...Re: WM5 screen tap capture or check box Pin
uzziah07-Feb-09 16:23
uzziah07-Feb-09 16:23 
QuestionVisual Studio Pin
uzziah010-Feb-09 9:37
uzziah010-Feb-09 9:37 
AnswerRe: Visual Studio Pin
uzziah022-Feb-09 15:44
uzziah022-Feb-09 15:44 
Questionhow can I run my socket program at dev C++ ?? Pin
mgbrain6-Feb-09 9:09
mgbrain6-Feb-09 9:09 
AnswerRe: how can I run my socket program at dev C++ ?? Pin
Perspx6-Feb-09 9:54
Perspx6-Feb-09 9:54 
JokeRe: how can I run my socket program at dev C++ ?? Pin
led mike6-Feb-09 10:15
led mike6-Feb-09 10:15 
GeneralRe: how can I run my socket program at dev C++ ?? Pin
Perspx8-Feb-09 0:19
Perspx8-Feb-09 0:19 
AnswerRe: how can I run my socket program at dev C++ ?? Pin
Hamid_RT6-Feb-09 20:35
Hamid_RT6-Feb-09 20:35 
AnswerRe: how can I run my socket program at dev C++ ?? Pin
Rajesh R Subramanian7-Feb-09 5:26
professionalRajesh R Subramanian7-Feb-09 5:26 
Questionbuilding and packaging executable for standard user vs Administrator Pin
Kyle P6-Feb-09 7:51
Kyle P6-Feb-09 7:51 
AnswerRe: building and packaging executable for standard user vs Administrator Pin
Stuart Dootson6-Feb-09 8:12
professionalStuart Dootson6-Feb-09 8:12 
QuestionHow to use Tree Control Inside List View Control? Pin
mikert_20086-Feb-09 1:48
mikert_20086-Feb-09 1:48 
AnswerRe: How to use Tree Control Inside List View Control? Pin
«_Superman_»6-Feb-09 1:56
professional«_Superman_»6-Feb-09 1:56 
QuestionHow to create different Dialogs as Tabs in single window. Pin
hemlat6-Feb-09 1:19
hemlat6-Feb-09 1:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.