Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
54% Quality Score
Upvotes Received
13
Posts with Upvotes
12
Upvoting Members
5
Downvotes Received
10
Posts with Downvotes
8
Downvoting Members
7
3 Commented Posts
~5K People Reached
Favorite Forums
Favorite Tags

22 Posted Topics

Member Avatar for Hawkpath

have a look at [url]http://www.daniweb.com/tutorials/tutorial45806.html[/url] Might b helpful for you

Member Avatar for Frederick2
0
499
Member Avatar for Argo54325

The Best i ever found for socket programming [url]http://www.silicontao.com/ProgrammingGuide/other/beejnet.pdf[/url]

Member Avatar for csmgsarma
0
167
Member Avatar for traced

there is a function "strstr" which returns a pointer to the first occurence of that string in another string. first find string using strstr then use strncpy to copy the the string before the pointer returned by strstr and after ptr + strlen (delete_word). ptr is the pointer returned by …

Member Avatar for WaltP
0
106
Member Avatar for holocron

have a look at this code [CODE]#include <stdio.h> #include <string.h> int main () { char str[] = "This is a sample string"; char * pch; pch=strrchr(str,' '); while (pch) { printf("%s",pch); str[pch-str] = '\0'; pch=strrchr(str,' '); if(!strrchr(str,' ')) { printf(" %s",str); break; } } return 0; } [/CODE]

Member Avatar for WaltP
1
693
Member Avatar for emitris

I also think that moderators should block such threads. We are not telling you how to do your job. We are just giving u a suggestion. Those people who does not show any effort, their threads should be blocked.

Member Avatar for WaltP
-3
208
Member Avatar for dani_awais

Take input in a string. Now you can check character by character that where the space character is entered. [CODE]if ( str.at(index) == ' ' )[/CODE] Condition will be true if there is a space character at the index position. I hope that this might be helpful for you

Member Avatar for adnan.siddique
0
80
Member Avatar for smith73
Member Avatar for sidra 100

I think its your home work or assignment. First show some effort then we will help.

Member Avatar for sidra 100
-4
76
Member Avatar for Nicholas_Roge

i think you should do it in this way. [CODE]# include <stdio.h> # include <windows.h> //# include <winbase.h> typedef void (WINAPI *PGNSI)(LPSYSTEM_INFO); int main() { PGNSI pGNSI; SYSTEM_INFO si; ZeroMemory(&si, sizeof(SYSTEM_INFO)); pGNSI = (PGNSI) GetProcAddress(GetModuleHandle(TEXT("kernel32.dll")), "GetNativeSystemInfo"); if (pGNSI) { printf("yes pGNSI exists"); pGNSI(&si); printf("\npage size is : %d\n",si.dwPageSize); } return …

Member Avatar for Ancient Dragon
0
157
Member Avatar for baulinp

void exit ( int status ); Actually it terminate calling process Terminates the process normally, performing the regular cleanup for terminating processes. First, all functions registered by calls to atexit are executed in the reverse order of their registration. Then, all streams are closed and the temporary files deleted, and …

Member Avatar for adnan.siddique
0
103
Member Avatar for agnetta22

working now. a semicolon was missing [CODE]#include <iostream> using namespace std; int main() { int a[16] = {67, 111, 110, 103, 114, 97, 116, 117, 108, 97, 116, 105, 111, 110, 115, 33}; int i; char letter; i = 0; while (i < 16) { letter = a[i]; cout << …

Member Avatar for adnan.siddique
-1
124
Member Avatar for problemkid

if you want to add 0's then u have to add 0's before the string if the length of the strings are not equal. example 1: 234243429 000123127 secondly u have to convert ascii value to integer . well that can b done by subtracting 48 from its acsii value. …

Member Avatar for dusktreader
0
143
Member Avatar for jodysmith

[QUOTE=jodysmith;1115028]Hello, I have just a simple and basic question. Write a program in c++ to swap 2 numbers without using a third variable. :D[/QUOTE] just focus on what u can do and what u can not. u can not use a third variable. wat u can do is "4 operations …

Member Avatar for Salem
-6
471
Member Avatar for adnan.siddique

hi every one. can some one please tell me steps to make an MFC application in vc2008? showing a blank window. thanx in advance

Member Avatar for Ancient Dragon
0
153
Member Avatar for qtdinesh

first show some effort that u have done. come up with a code according to your understanding then we will help you

Member Avatar for Ancient Dragon
-4
178
Member Avatar for LemonLemon

this link might b helpful [url]http://www.cplusplus.com/reference/clibrary/cstdio/sscanf/[/url]

Member Avatar for mitrmkar
0
137
Member Avatar for #define

char is of 1 byte because each char has an ascii value of max 127 if we r using 8 bit encoding. 128 = 2 power 8. so 8 bits 1 byte.

Member Avatar for Narue
0
109
Member Avatar for bun

check this code [CODE]#include<stdio.h> # include <stdlib.h> int main() { int x = 0; printf("plz enter a number : "); scanf("%d",&x); int y = 2 , z = 0; int * factors = (int*)malloc(100 * sizeof(int)); while (x != 1) { if (x % y == 0) { x = …

Member Avatar for bun
-1
110
Member Avatar for naveenreddy61

i think i have the best one that is [CODE]//code to convert roman numeral to integer #include<stdio.h> #include<conio.h> #include<string.h> #include<stdlib.h> int ret_level(char ch) { switch (ch) { case 'I': return 1; case 'V': return 5; case 'X': return 10; case 'L': return 50; case 'C': return 100; case 'D': return …

Member Avatar for WaltP
0
972
Member Avatar for zero_crack87
Member Avatar for Nick Evan
-1
291
Member Avatar for toleen

this might b helpfut for you [CODE]/* clock example: countdown */ #include <stdio.h> #include <time.h> void wait ( int seconds ) { clock_t endwait; endwait = clock () + seconds * CLOCKS_PER_SEC ; while (clock() < endwait) {} } int main () { int n; printf ("Starting countdown...\n"); for (n=10; …

Member Avatar for Narue
0
152
Member Avatar for nathanurag

check it now [CODE]#include<stdio.h> #include <stdlib.h> #include<math.h> # include <iostream> using namespace std; int main() { int i=0,j,c,s[100]; double t=0; while((c=getchar())!='\n') { s[i]=c; s[i] = s[i] - 48; ++i; } int x = 0; for(j=i-1;j>=0;j--) { //t=t+(s[i-1]*(pow(16,(4-((double)i))))); t = t + s[j]*(pow(double(16),double(x))); x++; } cout<<t; return 0; }[/CODE]

Member Avatar for adnan.siddique
0
125

The End.