
please wait
by Dan Feerst
Static variables inside classes?
|
I have some code where in my main function I create an array of objects using a for loop. I would like to be able to access those objects outside of the loop. ... |
May 13, 2013 at 7:54pm
[3 replies] Last: If your program was written in C++ then this declaration of the array ... (by vlad from moscow)
|
by Foxefde
c++ iterator skype chat!
|
Hello,can anyone explain me about iterator? I know a little bit about it, but wouldn't be able to create something serious ! :] Also skype chat : Be... |
May 13, 2013 at 7:49pm
[3 replies] Last: An iterator is a concept which is designed to transverse, and possibly... (by closed account zb0S216C)
|
by harshalp
error statement cannot resolve address of overloaded function
|
i have written this code for finding the day of week on any date but it is showing error statement cannot resolve address of overloaded function on lines 40 to ... |
May 13, 2013 at 7:46pm
[3 replies] Last: thanks JockX and vlad from moscow , the code finally worked however it... (by harshalp)
|
by Bonetoad
c++ project for school
|
I need to develop a code for a project that has six separate programs that enhance off of it. using Dev c++ The first assignment is as follows. 1.Your first... |
May 13, 2013 at 6:59pm
[11 replies] Last: we're not here to do your homework for you. If you want help code some... (by giblit)
|
Confusion Accessing Singleton Class Members |
Hi, LeafyCircuits here! Comp specs: OS: Windows 7 Home Premium 64-bit Compiler: GNU gcc with ISO and STL IDE: Dev C++ ver 4.9.9.2 using C++11 I was pla... |
May 13, 2013 at 6:28pm
[2 replies] Last: keskiverto said: Line 17. Why don't you want to return the insta... (by LeafyCircuits)
|
by huntermc101
help with using a set()!!
|
I have an additional txt file that i need to read into my cpp file by using a set. Im not understanding how to incorporate this into my code. any help would be ... |
May 13, 2013 at 6:13pm
[4 replies] Last: @Bourgond, agreed. I was just not sure if the OP was using a C++11 com... (by closed account N85iE3v7)
|
by TeaReks
Random number issues.
|
I am learning c++ ahead of some classes on it. I have written a few text based rpgs and now I am trying to integrate random numbers to be used in fight mechani... |
May 13, 2013 at 6:11pm
[5 replies] Last: Thanks. That fixed it. It makes complete sense too. Also thank yo... (by TeaReks)
|
by Knight Rider
IPv4
|
Hi guys i just go through the one of the code which was written in functions. i tried to do in class object form but i failed to pass octets in binery function ... |
May 13, 2013 at 5:45pm
[2 replies] Last: What exactly is your error and question? And please edit your post, an... (by ResidentBiscuit)
|
by Johnny123
Help with Salary Program
|
Hello, so I've been having some difficulties with a C++ programming assignment. We have to create a program that calculates the Gross Pay based on factors such... |
May 13, 2013 at 5:44pm
[1 reply] : Hey If it is compiling you can debug it! First try to calculate... (by closed account N85iE3v7)
|
Problem with classes |
I was trying to access the classes from different files. So , like a normal procedure, I made a new class, added the required codes and added the necessary prep... |
May 13, 2013 at 5:33pm
[2 replies] Last: Did you make sure you added the files to your project file? This is di... (by Daleth)
|
by Ramzi89
Static variables
|
In the below example, why is statloc not reinitialised and is it incremented in the last call to void proc()? #include <iostream> using namespace std... |
May 13, 2013 at 4:54pm
[4 replies] Last: So it is incremented and static variables can only be initialised once... (by Ramzi89)
|
by johndotie
Appending a file ios::app
|
Hi, This is my first post. Hope someone can help. I am trying to append a txt file I created in wordpad using ios::app. However the file is not appending? ... |
May 13, 2013 at 3:40pm
[4 replies] Last: Probably your program was being run with a different working directory... (by LB)
|
by agnophilo
Quick tutorial question (uppercaseifying letters).
|
In the below code (from the templates section of the tutorial) this template specialization is supposed to make a character uppercase - how does it do that? ... |
May 13, 2013 at 3:01pm
[3 replies] Last: keksiverto I have no idea what you mean and an alternate method wasn't... (by agnophilo)
|
EXCEPTION HANDLING QUESTION |
in this code although i have a general catch block but when i try to enter a double value instead of integer one the program runs infinitely what to do??? ... |
May 13, 2013 at 2:31pm
[7 replies] Last: got it THANKS (by Abdullah PAKISTANI)
|
by Syamraj666
Know from beginning
|
I want to study from begginning.please give me a.simple programme for study |
May 13, 2013 at 2:16pm
[2 replies] Last: http://www.cprogramming.com/tutorial/c-tutorial.html (by Donnie)
|
by Minimacfox
Out of ideas
|
I need to create a win condition in connect four, but I have no knowledge of how to. #include <iostream> #include <cstdlib> #include <ctime> using namesp... |
May 13, 2013 at 2:14pm
[no replies]
|
by Hnodes
I want to be a programmer! (1,2)
|
Hello! I am a 17 year old boy and I want to become a programmer. I've decided that I want to learn C++ since I believe there is more of a market for that. ... |
May 13, 2013 at 2:11pm
[27 replies] Last: Foxefde, Thanks for the invitation, but I'm not on skype yet! :( Don (by Donnie)
|
by tedski69
Reading and writing arrays from file
|
Can someone please help me with a short programme to read and then write a file. Basically I wish to open a file say "numbers.text" numbers.txt contains t... |
May 13, 2013 at 1:32pm
[4 replies] Last: Thanks I'll adapt that into what I have so far. :) (by tedski69)
|
by oxxo
New in C++ asking for suggestions
|
Hello everyone, I just started learning this C++ language. (I dont have any previous programming experience) Most forums the I've search says this language i... |
May 13, 2013 at 1:06pm
[6 replies] Last: @Bourgond, completely agree about using try / catch statements, they a... (by closed account N85iE3v7)
|
by Pter0dactyl
books
|
I want to clear these topics in my holidays.Please suggest me a book for each of these topic is possible : 1. Windows Programming in C++ 2. Networking in C++ ... |
May 13, 2013 at 12:50pm
[1 reply] : Windows Programming; Windows System Programming 4th edition by J.M ... (by closed account N85iE3v7)
|