General C++ Programming - June 2011 (Page 28)

Small question
 
When i do this printf("Blablabla") printf("blablabla") Instead of printing the second line in t...
[19 replies] Last: [quote=Disch]I can't tell if you're being sarcastic or not My profile... (by closed account zb0S216C)
by meesa
[C++] Srtuct Undeclared Identifier but it's declared?
 
I have this: //GetSetInfo.h (Partial) struct globalCharData{ float charInfo ; }glbCharD...
[3 replies] Last: Yes, I am. I relunctantly removes all circular includes, and now it's ... (by meesa)
calculate pi does not work
 
Okay I totally coded in a method for calculating pi but it seems that when I use a double or long do...
[2 replies] Last: yeah I found the GMP library and it seems to be great but I dont know ... (by fearverd)
How to crop date from string
 
I have lots of string in the following format: E:\PFX\26-Mar-2011\02_01_17.35.54.000.pfx I need ...
[6 replies] Last: This is way too trivial for regex.. If the length of each part of the... (by hamsterman)
Pointer Woe
 
int main () { char str ="- This, a sample string."; char * pch; printf ("Splitting string...
[3 replies] Last: FYI, your use of strtok() is incorrect and may very well stop working ... (by webJose)
by ramako
segmentation fault reading an image
 
Hi guys, I'm trying to load an image into a buffer, but it gives a segmentation fault. Here's the c...
[7 replies] Last: Yes, that was a bit of a hacked together stab in the dark at it! If y... (by Moschops)
Qt Message Box, QApplication and QPaintDevice
 
For my event log, I wanted to display an error message box. I avoided WinAPI (in which it is really ...
[4 replies] Last: Thanks for your help, and sorry it's taken me a few days to reply. Fo... (by anonymous23323124)
by eaxx
fstream - string input to file
 
I'm having a problem outputting a whole string into a text file using fstream. The problem is it onl...
[2 replies] Last: Thank you for the quick reply! I thought I had to use something from t... (by eaxx)
string characters problem
 
What i need is if someone types in some word, it is stored in a string and get last two character of...
[7 replies] Last: If you want to have a GUI, you'll need to get familiar with a GUI fram... (by Athar)
afile help
 
if while (!afile.eof()) { ch = afile.get(); afile << ch; } if my afile last lett...
[3 replies] Last: Any experts? (by nanochan1)
How do you clear the text off of cmd?
 
I am making a program that continuesly loops to the beginning and im wondering if there is a way to ...
[5 replies] Last: A lib is a library. In this context, I was talking about a library of ... (by ModShop)
Help me understand sorting please
 
Alright, so I want 5 int values from 0-9, which I will store in a vector. I need to iterate through ...
[4 replies] Last: After less than an hour, then three, then two? On Memorial Day weekend... (by Duthomhas)
June 2011 Pages: 1... 262728
  Archived months: [may2011] [jul2011]

This is an archived page. To post a new message, go to the current page.