Beginners - December 2010 (Page 33)

API calls
 
Hello. I'm a new programmer to C++, but have programmed in javascript, a specialized dialect of basic, and even dabbled in assembly. I've learned how to write...
[3 replies] Last: Thanks a bunch! I got the tutorial for c++ off this site, and it's ... (by Ameobea)
Header Boilerplates
 
When do I need to include the following line in the header? #include "implementation.cpp" // where this is the implementation of the header Is this only ...
[8 replies] Last: With C++ templates, which are similar to C macros, you need to have th... (by Bazzy)
by toks
cout warning
 
Hello, i would like to ask when for example we have: cout << "\." ; the compiler will display a warning: unknown escape sequence '\.' ...
[1 reply] : in a character string the '\' character represents the fact that an es... (by quirkyusername)
Whats wrong with my "simple" Bank App?
 
I have not got a clue whats wrong with my program...any help is greatly appreciated. i will post my main first (main.cpp) #include <iostream> #include <fstr...
[5 replies] Last: No mortgage header as i got completely peeved with the rest of it lol.... (by closed account zb5L1hU5)
windows forms
 
Hi, I would like to open a new window (with other buttons, axis, etc...) within GUI when I push a button. how can I do? thanks for answering!
[2 replies] Last: or you use .net/wxWidget/Qt or some other Lib for that purpose (by coder777)
Arrays
 
aBefore you even read this, I'm gonna tell you that arrays are completely just confusing me to all extents. Well I need to make a 5 row 10 column array but I'm ...
[10 replies] Last: You will have to initialize rand() normally you would initialize it us... (by Darokthar)
Question about functions :)
 
I was just wondering why at the end of functions there is a blank (), what is supposed to go in here.
[15 replies] Last: Here is a really simple function. Though it would be just as easy to w... (by lare26)
by areid
Error with my overloaded operator function?
 
#include <iostream> using namespace std; class square{ public: square(); friend const square operator <<(ostream& os, const square& square2); priv...
[2 replies] Last: Thank you there were actually two errors but I figured it out thanks! (by areid)
Btree
 
Implement a template binary tree class in C++. A binary tree is composed of nodes each of which has two children, left and right. Each tree has a calculated dep...
[3 replies] Last: Alright then i will be patient. I want someone to finish off this c... (by swalton)
"using" kyeword in C++
 
#include <iostream> using namespace std; class Parent{ protected: void Test1(){ cout<<"I am protected in base class"; } void Test2(){ cout...
[5 replies] Last: thanks Disch....:) (by ankushnandan)
StreamWriter in Visual C++
 
Hello, I am semi new to C++ and using Microsoft Visual C++ 2010. I am trying to have a user save a string from a rich text box using streamwriter. But when I tr...
[no replies]
Making a Program
 
im trying to make a program to solve this equation and list the x and y variables but it is failing here is wat i got so far #include <iostream> #include <cma...
[19 replies] Last: i want to show 5 possible answers for a line like to limit it to 5 (by MichaelIbekwe)
processing information from a file
 
I am working on a program that calculates the area, and circumference of a circle. It reads the radius from a file. I can get it to read the file, process the i...
[1 reply] : The loop on line 34 gets the circumference and area OK, but it doesn't... (by Disch)
by Patoto
Sprites?
 
Is there any tutorial on how to use sprites, or any way to animate 2d images u guys know about? Thx
[3 replies] Last: I recommend sfml. Very beginner friendly. Very fast, very easy. h... (by Disch)
processing an array from a file
 
I am working on a project that has me taking information out of an array and finding the average and smallest array. I then need to print all the arrays, the mi...
[2 replies] Last: Thats perfect! Thank you so much for your help. Everything is working ... (by thebirdman26)
Char to Boolean.
 
Hey everyone, This is probably very simple to some but I have been working on it for a while and im stuck. Im reading data from a text file and one column i...
[1 reply] : // need to have variables: char c; bool b; c = get_char_from_f... (by Disch)
by firix
smart Pointer error?
 
Hi there, I wrote a smart pointer class but I can not write more. Could you share with me your knowledge of C++. Thanks for reading! template<clas...
[1 reply] : template<class T> class smartPTR{ T *mp; T *Array; int size; ... (by firix)
by dbarto
Blank space code?
 
Got a quick question. I have a test tomorrow and on the study guide there is a question about blank spaces. Would someone enlighten me or direct me on the right...
[2 replies] Last: Edit: Write the code that will read character inputs from the user ... (by dbarto)
by crxxtc
Password verification problem
 
I need some help in trying to find out why my program keeps crashing i get error Run-Time Check Failure #2 - Stack around the variable 'password' was corrupted...
[14 replies] Last: nevermind i was able to get the numbers part of it thank you for all o... (by crxxtc)
sorting from text file using insertion sort
 
hi, basically what this program does is reading names from a text file into two dimensional char array and then sort using insertion sort in ascending or des...
[no replies]
December 2010 Pages: 1... 3132333435
  Archived months: [nov2010] [jan2011]

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