Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
5
Posts with Upvotes
4
Upvoting Members
5
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #13.9K
Ranked #3K
~2K People Reached
Favorite Tags
Member Avatar for purpleturtle_97

[CODE] httpRequest parseHttpRqt(char *msg) { httpRequest rtrn; return rtrn; } [/CODE] I was just wondering if anybody could help with parsing a Http Request? I understand that the request is as illustrated below, but how would i turn that into an object containing the code (200/400/404) and the filename? Bearing …

Member Avatar for Adak
0
256
Member Avatar for yongj

I have a program where the cout "ing" a string misses the beginning letter of the string. I have made it so that there are 3 options to input/output the information. The "missing" letter in the string is ONLY evident in option 1; option 2 and option 3 does not …

Member Avatar for yongj
0
219
Member Avatar for JHus00

[CODE]//function example #include <iostream> #include <cmath> using namespace std; float cutoff(float& windchill) { int z; z = (int)(windchill + 0.5); return(z); } float calculate (int& t, int& v) { float windchill; windchill = 35.74 + (0.6215 * t) - 35.75 * pow(v,0.16) + 0.4275 * t * pow(v,0.16); return(windchill); } …

Member Avatar for HealBrains
0
109
Member Avatar for tvt5043

I just started time complexities with no knowledge of it. Read through the forum and surf the web and came up with somewhat a basic understanding of it. int control = N while (control !=0) { code with(1) CONTROL /= 2; } i came up with : N X 1 …

Member Avatar for tvt5043
0
92
Member Avatar for Ihatepullups

Hello, this is my first time here, although I have hit this website many times on google looking for quick fixes to my problems. I am a student in high school and I persuaded my teacher to let me study c++ (as opposed to 3ds max). I have been working …

Member Avatar for niyasc
1
107
Member Avatar for Iam3R

i run the below code and surprised to see the o/p . take a look and let me know whats happenning there. [CODE]#define print(x) printf(#x"=%d\n",x) int main(){ int a[10]; print(a); print(*a); print(*a+1); print(*a+3); print(*a+1-*a+3); return 0; } [/CODE] Out Put: [QUOTE] [Zonnie@telnet CPz]$gcc funny.c [Zonnie@telnet CPz]$ ./a.out a=-1073745776 *a=1 *a+1=2 …

Member Avatar for ssharish2005
2
201
Member Avatar for Iam3R

can somebody explain the behaviour of the statement printf("%d"); is it any where depends on the statements that present before or after it. i have some satatements that allocates memory dynamically. its printing one of that value. is there any proper reason for undefined behaviour.

Member Avatar for Tom Gunn
0
110
Member Avatar for pavan146
Member Avatar for kingstrider

hey guys can sumone please help me by telling wat exactly is the syntax for a do while loop....for example if v want to to ask the user integers again and again till a condition is satisfied...plz help...thank u this is wat i have ritten but the loop never continues …

Member Avatar for loneal
0
80
Member Avatar for restrictment

Just testing out arrays on this one. MY project is to create a thermometer that converts Celsius to Fahrenheit or vice-versa. [code] #include <iostream> #include <windows.h> #include <string> #include <iomanip> using namespace std; int main() { cout << setiosflags(ios::fixed) << setprecision(2) << ios::showpoint; float value1[11], value2[11]; char gauge1, gauge2, gauge; …

Member Avatar for restrictment
0
205
Member Avatar for wangatang126

i need some help on this. I have the array numbers stored already but the array dosent display on the screen. Why? here is the code [CODE] # include <stdio.h> # include "simpio.h" # include "genlib.h" # include "strlib.h" # include <math.h> # define size 3 main() { int intArray[size][size]; …

Member Avatar for wangatang126
0
90
Member Avatar for joelol

[CODE]#include "stdafx.h" #include <iostream> #include <string> // say what standard-library names we use using std::cin; using std::cout; using std::endl; using std::string; int main() { // ask for the person's name cout << "What's your name? "; // read the name string name; cin >> name; // build the message that …

Member Avatar for wingless
0
82