Beginners - July 2011 (Page 23)

C++ undefined reference and exit error...plz help?
 
I'm using Dev C++ compiler. I keep getting these two errors. [Linker error] undefined reference t...
[11 replies] Last: taxAmount is a function, not a variable... so maybe that's how OP tr... (by Catfish)
by Peyton
Complex Square Root
 
Hi, I'm just wanting to write a program that requests the integers a, b and c from the user, calc...
[5 replies] Last: I use a different compiler, so I can't be sure, but try replacing 2 wi... (by hamsterman)
string to int
 
Im trying to writn stirng to int funtion for my string class. Its for learnig purpose. but i cant se...
[8 replies] Last: i have forgottne how to call my cti function If you have it accordi... (by coder777)
help!
 
how can I stop this loop? getline is not reading until the end of the file like it should, and I don...
[3 replies] Last: while(!fin.eof()){....} http://www.cplusplus.com/forum/beginner/3... (by muratagenc)
custom strcat() question, is this code safe?
 
I got the following code from a book, it works but I don't think it's a safe function. Why? let me p...
[6 replies] Last: great tips, thanks. I also like the comment This is a minor auxiliar... (by muratagenc)
logical operations for const char *
 
I have a simple question! why is this not true? (d == "cplusplus") when const char *d = "c...
[8 replies] Last: Apparently! (by Nisheeth)
Writing to a file, need help
 
well, I'm trying to learn how to write binary files, and I seem to have hit a snag. void save(...
[15 replies] Last: So better use the stream mechanism. You can overload the << and >> ope... (by coder777)
I get an illegal initalization
 
#include <iostream> using namespace std; #include <string> class Event { public: vo...
[3 replies] Last: that's related to pan's reply. you did define the class but after you ... (by chipp)
Review of two simple function templates
 
Hi forum, First post here. I trying to learn myself C++ by writing small programs, which solves s...
[6 replies] Last: It won't yield any overhead because gcd_helper's constructor does n... (by Slaunger)
Need help with an array
 
Hello everyone, I am trying to make the number of days in a month display when the user enters the ...
[2 replies] Last: Here's how I'd do it: int main() { int month = 0; cout << "... (by creekist)
Random Number Generator
 
I created this program for a class assignment and it works fine but I noticed that sometimes it will...
[5 replies] Last: That's what he's doing, creekist. The problem is he needs numbers wit... (by Disch)
Nested loops not incrementing
 
Hi I am trying to make a nested loop that builds a triangle with the height based on user input. The...
[2 replies] Last: Take a look at line 24, you are saying as long as ast is equal heightt... (by twentfiveu)
need help passing a stream to a function
 
I'm trying to get a function to use and add to an fstream, but it doesn't seem to work. Here's what ...
[4 replies] Last: hamsterman, that snippet ran fine. I did some looking and it turns out... (by ausairman)
Have Problem
 
#include <cstdlib> #include <iostream> using namespace std; int main(int argc, char *argv ) ...
[5 replies] Last: Yes. It does. Thank you, though. (by kyranstar)
Where to learn GUI?
 
I can't seem to find anything helpful. I'm using Visual Studio 2011 (c++).
[2 replies] Last: visual c++ is GUI oriented. also i hope you mean 2010 i dont think th... (by vlad61)
Reading Data from file into 2-d array trouble
 
Hi all, I'm trying to write a program that will take tab delimited data from a text file and put...
[2 replies] Last: OK, so I now understand that the segmentation error was the result of ... (by mantale1)
by TLO
Excel does not see DLL anymore when used with GSL working function
 
Hi, I am new to C++ and request kindly help. I need to link C++ with excel, I managed to program bas...
[no replies]
by wtf
My program executable is 128K.
 
Why is the size reported in task manager 552K?
[11 replies] Last: That's perfectly normal, it doesn't go any lower than that. Your appli... (by Athar)
Setting up code::blocks
 
I've only used dev-c++ and Visual C++ which comes with all the libraries. Does Code::Blocks not com...
[5 replies] Last: Copy and paste the exact error message(s) you're getting. (by Athar)
Array troubles
 
I'm having some problems creating arrays, anyone know what's wrong? int check; //The whil...
[2 replies] Last: Great, your going to make me read the one section I was avoiding >_< ... (by Shay9999)
July 2011 Pages: 1... 2122232425... 54
  Archived months: [jun2011] [aug2011]

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