Click here to Skip to main content
       

C / C++ / MFC

 
AnswerRe: compile code twice,why the two result is differrent Pinmembersajeesh.c30-Nov-12 19:28 
AnswerRe: compile code twice,why the two result is differrent PinmemberCristian Amarie3-Dec-12 9:55 
QuestionCListCtrl Pinmembersarfaraznawaz28-Nov-12 22:07 
AnswerRe: CListCtrl PinmemberJochen Arndt28-Nov-12 22:30 
QuestionLong pointer to character C++ Pinmemberpix_programmer28-Nov-12 5:41 
GeneralRe: Long pointer to character C++ PinmemberDavidCrow28-Nov-12 6:19 
AnswerRe: Long pointer to character C++ PinmvpRichard MacCutchan28-Nov-12 6:20 
AnswerRe: Long pointer to character C++ PinmemberStefan_Lang28-Nov-12 7:07 
GeneralRe: Long pointer to character C++ PinmemberDavidCrow28-Nov-12 8:56 
GeneralRe: Long pointer to character C++ PinmemberStefan_Lang28-Nov-12 23:03 
AnswerRe: Long pointer to character C++ PinmvpCPallini28-Nov-12 8:48 
AnswerRe: Long pointer to character C++ Pinmembersajeesh.c30-Nov-12 19:35 
AnswerRe: Long pointer to character C++ [modified] PinmemberApril Fans13-Dec-12 19:06 
Questionproblem in c with linux Pinmembera1_shay28-Nov-12 3:23 
i need to make program that i give some system command like ls,date et cetera.and to check if thre is path that include this command(file).i have variable commandandparameters that start to change in the last loop while and i dont know why.
i put puts(commandandparameters); to show that the output is not good if you want to run it.
#include
#include
#include
void main()
{
char *arr[5];//for the command and his parameter
char command[10];
int i,j;
char *path=NULL,*tempath,*finalpath,*commandandparameters;
do
{
i=0;
printf("enter new command:");
gets(command);
arr[i]=strtok(command," ");
while(arr[i]!=NULL)//save the command and also the parametrs
{
i++;
arr[i]=strtok(NULL," ");
}
strcpy(commandandparameters,arr[0]);//add first command
for(j=1;j
AnswerRe: problem in c with linux PinmvpCPallini28-Nov-12 4:07 
SuggestionRe: problem in c with linux PinmvpRichard MacCutchan28-Nov-12 4:11 
GeneralRe: problem in c with linux Pinmembera1_shay28-Nov-12 22:35 
GeneralRe: problem in c with linux PinmvpRichard MacCutchan29-Nov-12 0:04 
AnswerRe: problem in c with linux Pinmembersajeesh.c30-Nov-12 19:40 
QuestionMerging Arrays Pinmemberpix_programmer27-Nov-12 22:57 
AnswerRe: Merging Arrays PinmemberAndy41127-Nov-12 23:48 
AnswerRe: Merging Arrays PinmvpCPallini28-Nov-12 0:09 
JokeRe: Merging Arrays PinmvpRichard MacCutchan28-Nov-12 0:45 
JokeRe: Merging Arrays PinmvpCPallini28-Nov-12 0:58 
GeneralRe: Merging Arrays PinmemberDavidCrow28-Nov-12 6:36 
AnswerRe: Merging Arrays PinmemberStefan_Lang28-Nov-12 3:45 
AnswerRe: Merging Arrays Pinmembersajeesh.c30-Nov-12 19:47 
QuestionHow to use ribbon in MFC Activex control PinmemberLamourou27-Nov-12 21:23 
AnswerRe: How to use ribbon in MFC Activex control PinmvpRichard MacCutchan28-Nov-12 0:44 
GeneralMessage Removed PinmemberLamourou28-Nov-12 1:26 
GeneralRe: How to use ribbon in MFC Activex control PinmvpRichard MacCutchan28-Nov-12 2:10 
Questionhow to use more than one rc file in vc6 project at the same time when compiling project [modified] Pinmemberyingkou27-Nov-12 20:59 
AnswerRe: how to use more than one rc file in vc6 project at the same time when compiling project PinmvpRichard MacCutchan28-Nov-12 0:42 
GeneralRe: how to use more than one rc file in vc6 project at the same time when compiling project Pinmemberyingkou28-Nov-12 15:35 
AnswerRe: how to use more than one rc file in vc6 project at the same time when compiling project PinmemberDavidCrow28-Nov-12 18:33 
AnswerRe: how to use more than one rc file in vc6 project at the same time when compiling project PinmemberFreak3029-Nov-12 0:33 
Questiontransparency in 32bit bmp in vs2010 Pinmemberyogeshs27-Nov-12 20:21 
AnswerRe: transparency in 32bit bmp in vs2010 PinmemberHadi Dayvary27-Nov-12 22:42 
GeneralRe: transparency in 32bit bmp in vs2010 Pinmemberyogeshs28-Nov-12 0:11 
GeneralRe: transparency in 32bit bmp in vs2010 PinmemberHadi Dayvary28-Nov-12 1:00 
QuestionHow To Use Macro In dsp file(VC6.0 *.dsp file) Pinmemberyingkou27-Nov-12 15:59 
SuggestionRe: How To Use Macro In dsp file(VC6.0 *.dsp file) PinmemberAlbert Holguin27-Nov-12 17:30 
GeneralRe: How To Use Macro In dsp file(VC6.0 *.dsp file) Pinmemberyingkou28-Nov-12 22:50 
GeneralRe: How To Use Macro In dsp file(VC6.0 *.dsp file) PinmemberAlbert Holguin29-Nov-12 5:55 
QuestionA class for operations with Large Integer Numbers PinmemberPahanuch27-Nov-12 13:39 
AnswerRe: A class for operations with Large Integer Numbers PinmemberAlbert Holguin27-Nov-12 17:34 
AnswerRe: A class for operations with Large Integer Numbers PinmemberStefan_Lang28-Nov-12 4:01 
QuestionSetupDiGetDeviceRegistryProperty - buffer size? PinmemberVaclav_Sal27-Nov-12 7:39 
AnswerRe: SetupDiGetDeviceRegistryProperty - buffer size? PinmvpRichard MacCutchan27-Nov-12 7:50 
AnswerRe: SetupDiGetDeviceRegistryProperty - buffer size? PinmemberJochen Arndt27-Nov-12 23:54 

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

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


Advertise | Privacy | Mobile
Web02 | 2.8.141216.1 | Last Updated 18 Dec 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid