
please wait
by kaseyahumada
error message
|
Hello again, I created a program that will generate an array from a random number. the program will calculate sum, average, and show the larges and smallest n... |
Feb 18, 2012 at 3:49am
[4 replies] Last: All of your functions are asking for variables to be passed, but your ... (by GRex2595)
|
by lugiamaster
Help with my program
|
hello everyone, so i was wondering if i can get help with my program. Ok so i'm suppose to create a program that performs different types of encryption or decr... |
Feb 18, 2012 at 3:25am
[4 replies] Last: What is z? You just subtracted a number from j. Do you think checkin... (by cire)
|
by modacar
Classes dependant on eachother
|
Hi, I need a little guidance, I have created two header files which contain definitions of of a class in each. The header 'Connection.h' contains a class, 'C... |
Feb 18, 2012 at 2:09am
[18 replies] Last: I am developing a path finding algorithm. Connections 'Connect' two n... (by cire)
|
by yyoni69
Help with getting sum of diagonals (C lang)
|
Hi i try to write a function that gets a matrix,row,col int r_c_sum(int ar ,int row,int col) the function calculates the diagonal thats in the row and... |
Feb 18, 2012 at 2:01am
[5 replies] Last: You're doing two summations within the while loop and you should be do... (by roberts)
|
by chucker
Converting Basic Program to C from C++/C
|
Below is a program that generates random Addition for Subtraction problems depending on the user's choice. The user is prompted to input an answer and then it k... |
Feb 18, 2012 at 1:58am
[no replies]
|
by Lio
Double pointer confusion
|
I am studing pointers and I am a little confused,when I am cout the addres ones the second print is 55 ( as normal),but if I add the second address cout the ... |
Feb 18, 2012 at 1:17am
[9 replies] Last: You are not changing *ptr . You are changing ptr . What you are ch... (by cire)
|
by imakaia
How can i store files into a binary file? (want to store bmp-wav-txt)
|
I finished the Win32 C++ GAME_Labyrinth API with DireXt 9 and I want to gather all .bmp textures, .txt infos and .wav soundtracks in 3 binaries Music.dat Te... |
Feb 18, 2012 at 1:17am
[4 replies] Last: You don't have to store it in the executable. You can store resources... (by Texan40)
|
by Davichococat
Operator problems with "switch()"
|
Hey all. I will be direct this time. How do I use relative operators in switch? You probably didn't get what I mean, so I will show a code example: ... |
Feb 18, 2012 at 12:47am
[1 reply] : switch can't be used for this. Use an if-else cascade instead. (by Athar)
|
by rb485
while loop bug
|
I wrote a program which included a while loop to test the validity of a user-input choice (the "row" int variable), which should be at least 1. It works as ... |
Feb 17, 2012 at 11:40pm
[4 replies] Last: I can't get as technical as some users here undoubtedly can. The issu... (by Intrexa)
|
by znerich
Program to determine valid date.
|
So I am having a little problem getting this code to work. I feel like I am missing something, but I just can't warp my head around it. any help? #include... |
Feb 17, 2012 at 11:37pm
[3 replies] Last: Your asking the user to input twice... no matter what. Change that to... (by clanmjc)
|
by CMinus
The Sum of Prime Numbers below 2 million
|
Hello all , I am solving Project Euler Puzzles and now I have a little problem with problem 10 which asks me to Sum the Prime Numbers below 2 millions It's lin... |
Feb 17, 2012 at 10:44pm
[6 replies] Last: Thanks all after modifying my code and Putting the Upper limit to the ... (by CMinus)
|
by bacia
Using SFML with Visual Studio 2010.
|
Hi, I've read that SFML is a great beginner library for producing graphics (I've had enough of console applications). I'm using Windows 7 and Visual Studio 201... |
Feb 17, 2012 at 10:10pm
[18 replies] Last: Maybe in two or three months. (by Wisely Done)
|
by Dee Hood
Calculating Net Pay
|
Hi all, I am a complete noob when it comes to programming but anyway, I am writing a program for class that calculates Net pay from Gross Pay after deductions. ... |
Feb 17, 2012 at 10:07pm
[9 replies] Last: Got it! thanks! (by Dee Hood)
|
by kaseyahumada
Largest and smallest in array
|
Hello, I need help displaying the Largest and Smallest numbers in my array. I don't know how to code it correctly. I was able to set up the array and get a sum... |
Feb 17, 2012 at 9:39pm
[2 replies] Last: @whitenite1 thank you for you help with this problem of mine. I will n... (by kaseyahumada)
|
by jomars58
Reading a text file into a 2d array
|
If I have a data file as follows, 2 3 -1.8 3.6 6.7 3.4 -9.3 2.6 where the 2 and 3 designate how many rows and columns are in the matrix, what do I need ... |
Feb 17, 2012 at 9:38pm
[no replies]
|
by codrgi
pointer
|
how do i reference a global list using a pointer? i'm doing the following, with global->m_var1 and global->m_var2 being the global lists; list<int> myLocalL... |
Feb 17, 2012 at 9:11pm
[7 replies] Last: You need to use myLocalList->begin() because it's a pointer. (by Texan40)
|
by KS05
Help with Game Program
|
Nevermind...got it! |
Feb 17, 2012 at 9:01pm
[6 replies] Last: We had no snide comments. Don't come here for help if you don't like u... (by ResidentBiscuit)
|
by Mugiwara
Operator overload error
|
Hi Guys, I'm at my first experiences with C++. In order to better handle C++ language i've designed a MATRIX class and i've tried to overload the + and = ope... |
Feb 17, 2012 at 8:16pm
[4 replies] Last: WOW! It works out. I can't apply methods to a const objects. removed t... (by Mugiwara)
|
by Maese909
C++ IDE for Ubuntu
|
Hello all. I recently started using Ubuntu a few months ago and was wondering what IDE I should install for C++ development. Also, if it has support for Java, t... |
Feb 17, 2012 at 7:38pm
[13 replies] Last: @Jessy V: As long as you use cross platform code (by evanc9606)
|
by Mhael
Reading txt-file into array
|
I use this code to read from text file: int read_file() { char board ; int n,m; ifstream inFile("file.txt"); for(n=0; n<7; n++) for(m... |
Feb 17, 2012 at 5:57pm
[3 replies] Last: Thanks Null, that solved it! (by Mhael)
|