General C++ Programming - September 2010 (Page 14)

Segmentation Fault when trying to count words in a file. (1,2)
 
Hello all, I'm still pretty new to programming and have been working on my first programming assignm...
[22 replies] Last: Ended up figuring it out. Still, I owe a lot to you guys for pushing m... (by BlackFrost)
by Kyon
Combining Python and C++
 
Hey forum, I've been hearing things about the possibility to use Python/Ruby/Anything together with ...
[1 reply] : Python is designed to be embeddable as you describe. Full details are ... (by Duthomhas)
by niklas
Bug in program (program crashes at freeaddrinfo())
 
I made this stripped down version of a program im having trouble debugging. The program hangs / c...
[3 replies] Last: /facepalm, i "free'd" the same addrinfo in connectWalk AND tcpConnect.... (by niklas)
using enum...
 
i need help with enumerations. i want to get information into my class using an enum type variable f...
[3 replies] Last: got it myself... thanks anyways!!! (by kyle11778)
Programming Implementation
 
Fairly short question: Is it possible to implement programming languages, such as C++, inside of a...
[7 replies] Last: I guess I'm going to start looking into Java. Thank you for helping. (by NeckDeepInSyntaxErrors)
getting info from strings...
 
i need help/suggestions on how to get month,day,year from an input of "12/31/2010" this is part o...
[4 replies] Last: Maybe you can use getline (by curioustoknow)
by hannes
c++ gui application
 
I've been programming c++ for a year now, and i want to make a gui application. There are no standa...
[8 replies] Last: ok, thanks for your advice. I think i'll go for qt now. many thanks... (by hannes)
by wlv
About the template function
 
I just want to transfer the normal insertion sort to be a template function and meet this problem: ...
[2 replies] Last: Or just delete your swap function as use std::swap. Also, you do no... (by jsmith)
Convert userinput to lowercase
 
Hi, I'm having a problem with converting user input to lower case. I'm using getline to get user i...
[3 replies] Last: You could also use the STL. #include <algorithm> // transform(... (by Duthomhas)
by Hiner
Separating Declaration and Assignment
 
I have a C++ statement. I want to separate it into 2, like this: If I see this: int n = 1;...
[2 replies] Last: The above is not C++, it's C++/CLI (by Bazzy)
file name from variable name
 
Hi guys, I have the following problem. I make a program, part of which saves an array to a .dat f...
[7 replies] Last: [quote=helios]That's just an instance of storing the variable name in ... (by R0mai)
by Remis
template specialization for members in classes
 
Hello, I already searched about this topic (http://www.parashift.com/c++-faq-lite/templates.html#...
[2 replies] Last: Ah, was very close to the solution. Thanks for you help, I will tes... (by Remis)
by ralph
reverse and alternate counting of numbers PROGRAM in for loop C++
 
this is the output 8 1 7 2 6 3 5 4 4 5 3 6 2 7 1 8 that's the output...can you please help me ...
[6 replies] Last: how??? :( (by ralph)
Passing string array problem and accessing class declaration
 
Hi to c++ guru~~ I am having the following probles; 1. I keep getting an error. I believe it i...
[1 reply] : Hello, 2.In order to use a predefined name(identificator) it must b... (by EverBeginner)
finding an object in a STL list
 
Hello.I can search for an item with a specific value thus: for( list<Evaluation>::iterator...
[1 reply] : You could break; when you find it and test if(it == website->result... (by Galik)
by ICS
"Hello World" C++ Tutorial Error
 
I am new to C++ and would like to learn so I came across this website and started to go through the ...
[3 replies] Last: Thanks so much guys/gals! Sorry for my late reply but I really appreci... (by ICS)
WinAPI or SDL?
 
Wanting to create GUI applications and games I've been thinking about my options to do so. I know SD...
[2 replies] Last: I did try setting up SFML (several times) to finally consult another f... (by MottMan)
by MQLGuy
Declaring Global Variables from WITHIN a Function
 
Is it possible declare a global variable from within a function? Why would I wanna do this, you ...
[10 replies] Last: You need to objectify. class Driver { private: int your_var... (by Disch)
Picking ints from strings
 
*Not asking for code just point me in the right direction* So I've written a program to handle st...
[4 replies] Last: I'm not sure I get what you are asking but if you want to convert a st... (by Galik)
The dumbest thing I ever did
 
int main() { int *pointer; while(true) { *pointer=0; pointer=pointer+1; } return 0; } Th...
[3 replies] Last: also this doesn't do anything astounding. It's not like it's a memory ... (by Seraphimsan)
September 2010 Pages: 1... 1213141516... 20
  Archived months: [aug2010] [oct2010]

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