
please wait
Help! |
I don't really understand "while" control structure with (--) and (++). Here's what I learned about "while": - If ( 4 > 0 ) is true, then the statements will e... |
Jul 29, 2012 at 8:20am
[6 replies] Last: Something that should be clarified a bit is that as long as a variable... (by Volatile Pulse)
|
by skysurf76
Small bug in simple array sorting I can't find.
|
I'm working on a homework assignment (we are allowed to get help), and I am 99% done, but I can't seem to get a simple array to sort from least to most. Its th... |
Jul 29, 2012 at 8:15am
[6 replies] Last: So its working now? (by Akshit)
|
by heyitsmoto
Segmentation fault and "War" card game
|
Hi, I'm receiving the following error after trying to debug my project. Signal received: SIGSEGV (Segmentation fault) For program final_project, pid 8,900... |
Jul 29, 2012 at 8:11am
[1 reply] : Your code is so hard to read due to the inconsistent spacing. But I be... (by Volatile Pulse)
|
by stoffe1100
Hello, everyone!
|
uhmm, do you have any purpose with this thread? Smells kinda fake |
Jul 29, 2012 at 7:56am
[1 reply] : I am looking for C + + learning materials.I am very pleased to find he... (by qinqinshan)
|
by KHANZZzzz
Modular Programing Perspective?
|
I need a Program In C or either Pascal, including 2 conditions of (if-else) + loops (fixed and non fixed both) in Modular Programing Perspective? what ... |
Jul 29, 2012 at 4:40am
[no replies]
|
by soulife
3 days into self teaching c++, need help
|
as the title says im 3 days into learning c++, the book im reading though is (imho) put together in a weird way, i have to jump around a lot to search for answe... |
Jul 29, 2012 at 3:31am
[2 replies] Last: I think I worded that wrong. But in the tmp file there's like 4 whites... (by soulife)
|
by aangner
What is wrong with my program?
|
Can someone tell me what is wrong with my program? I can't get it to properly run. #include<iostream> #include<iomanip> #include <string> using name... |
Jul 29, 2012 at 3:11am
[3 replies] Last: I'm only 3 days into learning this stuff and I'm pretty much looking a... (by soulife)
|
problem in the class |
hi first i want to thank you guys for helping me alot in c++ until this day in this forum. and here ,, i have homework to do , program that can add and e... |
Jul 29, 2012 at 3:02am
[5 replies] Last: I see you still haven't learned about local scoped variables. You're ... (by AbstractionAnon)
|
by aangner
How would I write a code with loop for this scene?
|
How would I write a code with loop for this scene. http://www.youtube.com/watch?v=9Lge2_H_8IQ |
Jul 29, 2012 at 2:55am
[1 reply] : while (1 == 1) bang Dr. Boyer (by IceThatJaw)
|
Idea for C++ final project |
Hi everyone, i m just a newbie in C++ but my prof request us to do a C++ final project including all of these following: 1. At least four user-defined func... |
Jul 29, 2012 at 1:35am
[5 replies] Last: net snd from an output'ed batch script, add bomb (computer) or flood (... (by soulife)
|
by sanu
STORING IN AN ARRAY
|
Suppose a function prints out the numbers : 1 2, 3, 4, 5, 6 is there any methods to store the output numbers into the new array? |
Jul 29, 2012 at 12:22am
[4 replies] Last: @Moschops: Thanks for your reply.. I already tackle this another way. ... (by sanu)
|
by AphexBravia
Reading from files argument help
|
Hi, I am trying to write a program for uni that will read two different .txt files and output some data about them. I am fairly confident I can do this I just c... |
Jul 28, 2012 at 11:24pm
[12 replies] Last: but I want to save all the student.ids I read in to access them late... (by soranz)
|
by i2Fluffy
Argument parameters in main function?
|
Why do some programs have parameters in the main function and some do not? I see this a lot and have always wondered. Some look like this... int _tmain(i... |
Jul 28, 2012 at 8:51pm
[5 replies] Last: @i2Fluffy Why do some programs have parameters in the main functio... (by vlad from moscow)
|
by Nur Zafri
Problem with the loop
|
I need to write a program so the output will become like this: How many students? 3 Student 1 mark : 987 INVALID Student 1 mark : 25 Student 2 mark : 90 Studen... |
Jul 28, 2012 at 8:17pm
[10 replies] Last: I tried if but not work. Maybe something wrong with my source code. Th... (by Nur Zafri)
|
by treyriggins
c++ Calc Code
|
Hi If anyone could help me I would appreciate it. I am trying to make a calculator program. I am currently using MS Studios 2010, with Window 7 Premium system. ... |
Jul 28, 2012 at 8:08pm
[4 replies] Last: It is kind of a bad calculator, but I think it might be a little more ... (by Latrakx)
|
by Latrakx
Console-based to GUI
|
I have made a console-based calculator in c++ and now I would like to make a GUI for it ( not sure if GUI is the right thing, you know buttons and stuff) The c... |
Jul 28, 2012 at 7:54pm
[2 replies] Last: Thanks, think i will take your advice and stick with console for a whi... (by Latrakx)
|
by PadreDoom
How often do I need to seed SRAND? And another question
|
In the following loop, how often do I need to seed srand to ensure I get a different random number for my trapX and Y variables? for (int i = 0; i < numTra... |
Jul 28, 2012 at 7:45pm
[3 replies] Last: Call it once in main(). Using a class for this would be abuse of OO. I... (by Athar)
|
Weird printf :\ (1,2) |
Hi everyone... I have code in three different files. I would like you to have a look at it. MersenneTwister.h #ifndef MERSENNETWISTER_H #define MERSENNE... |
Jul 28, 2012 at 5:44pm
[20 replies] Last: Oh! I read it like: Does it work? and I like [to know] how you'... (by Zia Ur Rehman)
|
by Yasar
Begginers excercises (1,2)
|
hello , i have started to do the beginners excercises , also if any1 could tell me if any of my codes are going wrong in any place it is much appreciated :) he... |
Jul 28, 2012 at 3:35pm
[29 replies] Last: hey i have done the second task for string functions : int _tmain(int... (by Yasar)
|
understanding a simple pointers code |
#include <iostream> using namespace std; void main() { int *p; int *pa; pa=new int ; for (int i=0;i<100;i++) pa =2*i; p=pa; cout<<p <<... |
Jul 28, 2012 at 3:20pm
[8 replies] Last: To me, that sounds like an iterator is exactly a pointer. All pointe... (by Moschops)
|