Beginners - February 2011 (Page 15)

Problem calling sort function
 
I am having trouble calling the sort function in the main block. Can you guys give me some feedback?...
[13 replies] Last: So this is wrong? void sortdata(char ,double ,double ,double ); ... (by cplusplusrookie)
class templates in header files
 
Do class templates only work in c.pp files? My VC++2010, underlines header files declared in header ...
[7 replies] Last: Before your compiler gets a look in, the preprocessor takes the conten... (by Moschops)
by moe93
how can i return to main?
 
Ok, The thing is I dont really know how to make a header file, so I gave it a shot and "tried" to ma...
[6 replies] Last: This should help: http://www.learncpp.com/cpp-tutorial/19-header-files... (by closed account zb0S216C)
Comparing Arrays
 
I've read the FAQs to this site and understand that we are not supposed to ask for answers to homewo...
[4 replies] Last: I'm only a month into my C++ class, so I admit I'm still confused over... (by programming beginner)
how many elements can i add ?
 
i've got this struct: struct something { double x,y; ...
[5 replies] Last: If you have 32-bit Windows, you can usually not allocate more than 1.3... (by Athar)
Can“t print string
 
Hello, I`ve tryed evrything! This is my code void genera_datos(multimap<equipo,jugador> liga){ ...
[2 replies] Last: Thanks a lot for your answer! Dam what easy it was...stupid me..it s... (by horance89)
file handling
 
i want to pick up all the files from a directory one by one having a certain string in the name. thn...
[3 replies] Last: Well, you just need to make some kind of store of all the file names y... (by Moschops)
= overloading
 
I have a complex no class. I am trying to overload =. I have pasted some code below Q1. usually ...
[8 replies] Last: Do it the way the standard streams do it: class Fooey { pu... (by Duthomhas)
Class prototype
 
Hello, I am having some trouble with class prototypes. #include <iostream> using namespa...
[no replies]
cin.getline skips a line, how to fix?
 
cin.getline skip a line when it reaches the age cin.I don't know how to fix it yet.I'd be thankful f...
[2 replies] Last: ok found an answer in one of the post's here so don't bother with this... (by evertangel)
by Crippy
Input from File
 
A question: I have a file containing sequences of numbers, looking something like this: 34.45 55...
[1 reply] : You can use >> operator to get data from file: fstream file("f... (by Null)
by ijg213
return object member best practice
 
Java programmer overwhelmed with vast array of choices in C++ I have 3 classes: Surface Vector3...
[7 replies] Last: There's no difference except that you can "reuse" the object in the sa... (by Athar)
Reading and writing to a Binary file
 
I've recently decided to learn c++ and things have been going along well, but I've hit a snag in t...
[2 replies] Last: Well it took another hour of random trial and error playing the "guess... (by KoDeNich)
Pointer
 
assign pointer pointing to the first (index 0) element and pointer pointing to the last element h...
[2 replies] Last: The first thing you should probably do is research pointers if you hav... (by Targen)
Mathematics
 
Anybody have any idea as to how I can write an application that can factor a quadratic equation? Al...
[1 reply] : For quadratic equations in one variable there is the quadratic formula... (by jsmith)
by eyeck
infinite loop...
 
Hey everyone, complete beginner at c++ here, so go easy on me please :) Any time I write a progra...
[4 replies] Last: Thanks, that article's definitely gonna come in handy. Anyway I starte... (by eyeck)
Unusual Error Message
 
Hey all! I keep getting an usual error message whenever trying to run this piece of code. It appe...
[3 replies] Last: I solved the problem! Basically I hadn't handled the fact that str.fi... (by jis2507)
Getting fatal error C1190 pt2
 
pragma endregion private: System::Void lblseatNumber_Click(System::Object^ sender, System::Event...
[no replies]
getting fatal error C1190 pt 1
 
I cant place the entire code due to the character limit so I have to break it up. #pragma once #inc...
[no replies]
Problem with classes...
 
I am creating a text adventure game. Although I've written several of these (in c++ of course), I a...
[3 replies] Last: Oops... Thanks, I've finished the finishing touches on my (now fini... (by appnerd)
February 2011 Pages: 1... 1314151617... 43
  Archived months: [jan2011] [mar2011]

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