Click here to Skip to main content
15,902,933 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: code in C .... Pin
Michael Schubert5-May-10 1:21
Michael Schubert5-May-10 1:21 
QuestionDebugging Program Hangs Pin
softwaremonkey4-May-10 7:42
softwaremonkey4-May-10 7:42 
AnswerRe: Debugging Program Hangs Pin
David Crow4-May-10 8:28
David Crow4-May-10 8:28 
GeneralRe: Debugging Program Hangs Pin
softwaremonkey5-May-10 20:09
softwaremonkey5-May-10 20:09 
AnswerRe: Debugging Program Hangs Pin
«_Superman_»4-May-10 8:38
professional«_Superman_»4-May-10 8:38 
GeneralRe: Debugging Program Hangs Pin
softwaremonkey5-May-10 20:06
softwaremonkey5-May-10 20:06 
GeneralRe: Debugging Program Hangs Pin
«_Superman_»5-May-10 20:14
professional«_Superman_»5-May-10 20:14 
QuestionWinSock2 help! Pin
Fareed Rizkalla4-May-10 6:22
Fareed Rizkalla4-May-10 6:22 
QuestionRe: WinSock2 help! Pin
«_Superman_»4-May-10 6:27
professional«_Superman_»4-May-10 6:27 
JokeRe: WinSock2 help! Pin
Nemanja Trifunovic4-May-10 8:25
Nemanja Trifunovic4-May-10 8:25 
JokeRe: WinSock2 help! Pin
Moak4-May-10 9:36
Moak4-May-10 9:36 
GeneralRe: WinSock2 help! [modified] Pin
Fareed Rizkalla4-May-10 14:50
Fareed Rizkalla4-May-10 14:50 
GeneralRe: WinSock2 help! Pin
Parthiban4-May-10 23:02
Parthiban4-May-10 23:02 
Questionhow to trim Spaces from unsigned char* Pin
Member 36537514-May-10 3:47
Member 36537514-May-10 3:47 
AnswerRe: how to trim Spaces from unsigned char* Pin
Maximilien4-May-10 4:20
Maximilien4-May-10 4:20 
GeneralRe: how to trim Spaces from unsigned char* Pin
Member 36537514-May-10 4:43
Member 36537514-May-10 4:43 
AnswerRe: how to trim Spaces from unsigned char* [modified] Pin
stebich4-May-10 4:59
professionalstebich4-May-10 4:59 
GeneralRe: how to trim Spaces from unsigned char* Pin
Maximilien4-May-10 5:06
Maximilien4-May-10 5:06 
GeneralRe: how to trim Spaces from unsigned char* Pin
CPallini4-May-10 5:09
mveCPallini4-May-10 5:09 
GeneralRe: Copy the string char by char and skips the spaces. Pin
Software_Developer4-May-10 7:06
Software_Developer4-May-10 7:06 
Hi.
This litte program copys the string char by char and skips the spaces.
#include <iostream.h>
int count=0,count2=0;
int strLength=0;

int main()
{
	unsigned char Cstr[100] = "this is a program";
	unsigned char Cstr2[100] = "";

    while(Cstr[count] != '\0')
    {
		  if((int)Cstr[count] !=32)	 
		  {
			Cstr2[count2 ] = Cstr[count];
			  count2++;
		  }
			  
			count++;
	  
      strLength++;
    }
    for(count=0;count<strLength;count++) cout<<Cstr2[count]<<"";
    cout<<"\n\n\n";
	return 0;
}

QuestionRe: how to trim Spaces from unsigned char* Pin
David Crow4-May-10 4:20
David Crow4-May-10 4:20 
AnswerRe: how to trim Spaces from unsigned char* Pin
Fareed Rizkalla5-May-10 0:20
Fareed Rizkalla5-May-10 0:20 
QuestionIs it possible to browse through Hidden Drives. Using VC++/C++? Pin
G Haranadh4-May-10 2:37
G Haranadh4-May-10 2:37 
QuestionRe: Is it possible to browse through Hidden Drives. Using VC++/C++? Pin
«_Superman_»4-May-10 6:19
professional«_Superman_»4-May-10 6:19 
AnswerRe: Is it possible to browse through Hidden Drives. Using VC++/C++? Pin
G Haranadh5-May-10 20:45
G Haranadh5-May-10 20:45 

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.