Beginners - November 2014 (Page 58)

arrays inside functions
 
hello, I am having a hard time completing an assignment in class. pretty much its arrays inside func...
[2 replies] Last: update: please help im lost!!! i have progressed farther ignoring som... (by garrettww2010)
I need to know the place where is the highest value/lowest value in an array.
 
I need to know the place where is the highest value/lowest value in an array. for (i = 0; i <= ...
[13 replies] Last: if you guys read his full code, you'll see what he's using a for, a... (by dhayden)
by Jon15
Changing array from 1d to 2d in a function
 
I am confused as to how i am supposed to pass the 1d array to the function, create a 2d array (multi...
[5 replies] Last: Thank you for the input! (by Jon15)
need help passing a queue by refrence
 
so i realized my pass2queue function had the queue being reset each time it left it... i realized i ...
[2 replies] Last: It looks like you're only passing the queue by reference in the print ... (by danghotties)
im totally stuck
 
Hello, Im new to c++ (no kidding). Currently my syllabus is at function. so, i was given a task to w...
[4 replies] Last: okay tq! i will try it :) the last function is the calculation where ... (by Koumatarou)
How to use OpenSteer
 
Hi, are a new user. I need to learn how to use the library opensteer, where do I start? I have t...
[no replies]
i need help guys im stuck
 
Hey guys im experimenting on void recursive function, and i dont understand why the ouput of this ...
[1 reply] : Don't double post. http://www.cplusplus.com/forum/general/146856/ (by mutexe)
A doubt on abstract base class and pure virtual functions
 
it is stated that the pure virtual function declared in the base class must be implemented in the de...
[2 replies] Last: it is stated that the pure virtual function declared in the base clas... (by Disch)
by wolfv
How to specify namespace of a library?
 
Please help me with namespace. Here is a simplified example of what I am trying to do: There are...
[4 replies] Last: Thank you JLBorges! That worked. (by wolfv)
Passing and receiving array from function
 
Hi all, Would you please guide me about my problem? The code below is not yet complete and I have to...
[1 reply] : First look at this snippet: int np=100; int nx=200, ny=200; int dt=0... (by jlb)
error LNK2018: unresolved external symbol (referring to constructors)
 
This is the first time I have used classes in C++. This program is fairly simple, I am to create a S...
[5 replies] Last: Got it! Thank you much! (by SuperLauraRae)
a doubt regarding late binding
 
class A { public: virtual int func() { cout << "hello" } } class B:...
[1 reply] : I want to say that the virtual table of a3 will be consulted to find t... (by MikeyBoy)
How to read numbers from file, when you dont know how many of them are in there ?
 
Hello, so i have a problem here. I am trying to read file that looks like this: dont try to read wo...
[3 replies] Last: Thanks :) (by Eivyses)
Change the code to output with the min
 
My desired output: Enter lower limit: 3 Enter upper limit: 10 3 5 7 My output in my current pr...
[1 reply] : woot!~ I figured it out! #include <iostream> using namespace std; voi... (by Vandalism)
logical error in my code
 
In the following code, I get the logical error when the loop executes for the second time. During...
[4 replies] Last: Interesting... It does not for me. Did you read that link? Does it hel... (by mutexe)
whats wrong with my c++ code
 
Why my programs doesn't work? it just doesn't make math. Program doesnt print a at all. and prints t...
[11 replies] Last: code777 it is. line 14 :-) , i need to check if n-m isn't = 0, only th... (by semkius)
by Jon15
Changing a 1d array to a 2d with global variables
 
Hi, i am writing a program that will pass an array with the integers 0-10 to a function that will cr...
[3 replies] Last: You have declared two different "nums" arrays: one is the parameter to... (by dhayden)
Copying console to a text file
 
hey guys I was wondering if there is a way to copy the text in the command prompt into a text file w...
[no replies]
Compare four C++ strings and sort them by length
 
How do I compare four c++ strings and sort them by length ? I know how to compare 2 strings with the...
[1 reply] : Find the least longest string out of the 4. Then find the least longes... (by closed account 48T7M4Gy)
November 2014 Pages: 1... 5657585960... 65
  Archived months: [oct2014] [dec2014]

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