
please wait
Need help with functions! |
So i have two functions like: int function1(int parameter1){ return int random stuff; } int function2 (int function1){ return int blah... |
Apr 1, 2013 at 6:06pm
[2 replies] Last: thanks vlad got it working (by TaisteluJaska)
|
by remyers01
Need Help w/Arrays
|
Can someone explain to me how arrays are supposed to work? I put them down but all I get is zero when I compile the program. How do I get the actual array pro... |
Apr 1, 2013 at 5:48pm
[1 reply] : cout << gameArray << endl; This is out of bounds. gameArray ; Th... (by ResidentBiscuit)
|
by pojster
Alternate ways to break a WHILE loop
|
This is from a homework assignment I already turned in. My programmed worked flawlessly but I was frustrated by one thing. We were working on linked lists and... |
Apr 1, 2013 at 5:30pm
[10 replies] Last: @ L B - I am sure that was precisely the point of the exercise - to sh... (by pojster)
|
by Ruthless
Inserting at certain position in Linked Lists
|
Hello, suppose I have a struct named nodeType with(info of type Type, and a pointer named link of type nodeType) also I have a class named linkedListType wi... |
Apr 1, 2013 at 4:52pm
[5 replies] Last: Insertion at the end should be trivial. If you have a tail pointer, ta... (by ResidentBiscuit)
|
by Patriot524
My Program's Loop Doesn't Do What I Intend It To Do
|
I do not understand what I have done wrong here. The problem is the bottom. My loop does not do what it is supposed to. You may wonder why all of those "if" sta... |
Apr 1, 2013 at 4:40pm
[3 replies] Last: your will be answered too.. sometimes the answers are quick and someti... (by writetonsharma)
|
by dariusd7
Are there any free online compilers for c++
|
Are there any free online compilers for c++? I don't want to download a developer onto my Pc at work. Would prefer one I could use directly online to write, and... |
Apr 1, 2013 at 3:40pm
[3 replies] Last: Thanks Catfish3, and Zereo.. I will check out your links. (by dariusd7)
|
function cin.get() and getch() |
hi, everyone..can i know what is the difference between cin.get() and getch()? as what i know, this two functions can hold on the window when giving output, is... |
Apr 1, 2013 at 2:26pm
[7 replies] Last: ok,thanks..^^ (by programming killer)
|
by dariusd7
Employee parttime employee program C++
|
I never had c++, but i am in a program debbuing class that uses C++. I am not good with inheritance and class etc. I am having trouble debuing the following can... |
Apr 1, 2013 at 2:11pm
[6 replies] Last: What is your assignment? What are you stuck on? What exactly do you wa... (by LB)
|
Error C2079 Object::color uses undefined struct 'Vector' |
I have a header file for a vector that looks like this: #ifndef VECTOR_H #define VECTOR_H #include "main.h" struct Vector { double x; double y; ... |
Apr 1, 2013 at 1:41pm
[4 replies] Last: Dont include main.h in vector: vector.h - no includes vector.cpp - in... (by Lowest0ne)
|
by eXord
How to pass in a linked list?
|
So I'm kinda struggling to pass in a linked list to a function that sorts the linked list, how do I pass in a linked list to a function? Do I pass in a po... |
Apr 1, 2013 at 1:19pm
[5 replies] Last: Then you're not doing what I just said. That error is saying that you ... (by LB)
|
how to computate gradient of given points? |
hi, i'm the newcomer here.. i got a bit problem with this program.. #include <iostream> #define N 3 using namespace std; typedef struct { dou... |
Apr 1, 2013 at 1:03pm
[2 replies] Last: ok,thanks:) (by programming killer)
|
by Guzfraba
Copy constructor call
|
Hi ! test is a class,and trol is a member function. test test::trol(test& a){return a;} ; test a; //default constructor; a.trol(a); ... |
Apr 1, 2013 at 1:01pm
[1 reply] : The second copy constructor call is removed by the compiler, this is a... (by Cubbi)
|
by tpinon
read from file using functions
|
Hi guys, I'm trying to write a program that has a menu for displaying data from an existing file in different ways. So far I've only worked on menu option one a... |
Apr 1, 2013 at 12:39pm
[2 replies] Last: thanks Yanson! Was it just the positioning of namespace? I tried to co... (by tpinon)
|
by Felicia123
Pseudocode teaching
|
Algorithm( OriginalWord , Permutation ){ if ( OriginalWord is empty ){ write permutation } for i <- 0 to OriginalWord size length TemporaryWor... |
Apr 1, 2013 at 12:31pm
[no replies]
|
by M159LE
Classes!!!!
|
Hi all, I have an assignment to do, all 5 questions is about classes... But first I only want help with the first question, if someone can please help me to und... |
Apr 1, 2013 at 12:10pm
[14 replies] Last: Thank you so so much! I understand 100%! Your explanation is much bett... (by M159LE)
|
by witogie
3 Functions not working together
|
As a first year student in C++ I have been given the following assignment: The user must guess a number between 1 and 1000. This must be done in 3 functions. ... |
Apr 1, 2013 at 11:33am
[1 reply] : You should practice better... You're source code is such a mess, very ... (by luigibana96)
|
by jason9559
program skipping cin/getline requests
|
I can't figure out what could cause to program to skip over cin and getline requests, but it is, so can anyone help? Ow and i know that alot of the error han... |
Apr 1, 2013 at 11:22am
[3 replies] Last: In this case, I think using std::cin >> value instead of getline(s... (by Chervil)
|
by nickss69
class help!!!!
|
hi i was wondering if someone can help me in writing this, Create a class Student with the following private attributes: Student ID: should be an integer... |
Apr 1, 2013 at 10:18am
[2 replies] Last: yes, 10x mate you helped me alot (by nickss69)
|
by ausairman
How do I use random_shuffle with a custom random function?
|
I want use a custom random number generator in VC++11 to randomly shuffle a vector. I have a class called Random , a global instance g_random and a member fu... |
Apr 1, 2013 at 9:55am
[6 replies] Last: Ah right that all makes sense; I need to make the method unary by prov... (by ausairman)
|
When to go object oriented? |
Hi, I just wanted to ask this question, being 3/4 of the way through Herbert Schildt's book "C++ - Beginners Guide", and quite dazzled by the raw power of an ... |
Apr 1, 2013 at 6:50am
[1 reply] : Structured programming and OOP do not contradict each other. Each OOP ... (by vlad from moscow)
|