Beginners (Page 72)

How can I make this code in 2 dimention?
Hi all, The code below calculates the dx/dt=u equation by euler method. This calculates the u for t...
[3 replies] Last: Frankly, I have no idea what you mean by calculate the dx/dt=u equati... (by keskiverto)
by JeffP
Checking chars
I was assigned a program that has a single char value inputted. Is there a way to make it so that th...
[2 replies] Last: Thanks man. (by JeffP)
How to track when all the elements of a vector <bools> are false?
Note: I'm not using c++ 11 unfortunately so I don't have access to all_of(). I basically have a v...
[5 replies] Last: std::bitset<200> bits; // create a set of 100 bits. ... if (!bits.a... (by dhayden)
Where to begin with 3D programming?
So I want to make a 3d RPG game (Maybe even an MMORPG) and I don't really have any experience with 3...
[7 replies] Last: Thanks a lot. I will look into it! (by evilpineappe)
Loops with if statement
Hello. I'm making a program that asks user to input a day from 1 to 31 (as max day is 31), so when ...
[4 replies] Last: Ok, I think I understand it now. Thanks again (by CrazyCloud)
by krad23
Functions with arguments by reference
Is there any actual difference between these 3 function declarations? int f(int x) { return x; ...
[5 replies] Last: Oh, sorry for the double post, I didn't even see there was a 2nd quest... (by krad23)
Need Help continuing my program
I'm currently working on my assignment, but I can't get it to continue when user hit's 'r' or 'R'. D...
[4 replies] Last: Have you drawn a flowchart yet? There seem to be three separate cases... (by kemort)
trace tables
hi,i would like some help in determining what a recursive function will calculate. What i do know is...
[2 replies] Last: b will always be > 1 (by yusufseedat)
Need Help with Looping Error for Seconds and Distance
Good evening! I'm struggling with getting my loop to increment properly. I know that it has to do wi...
[5 replies] Last: On line 28 for (Seconds = 1; Seconds <= numSeconds; Seconds++); you... (by Jezze)
Differences between int vs long, float vs double.
Quick question, I know what each of these are, so far I know that an int can go into a float but ...
[3 replies] Last: Any integral variable (char, short, int...) can be cast into floating ... (by MiiNiPaa)
stringstream confusion
class ISBN { public: class Invalid{}; // exception class string get_ISBN() const ; ISBN(); ...
[2 replies] Last: Thanks a bunch. I figured there was a better method than screwing arou... (by OldNewb)
by Life24
Module vs Sub-Module
Hi, I want know more explain between module vs sub-module. Can you give me one simple example?
[no replies]
by hosoi
Why my output produces the wrong result?
I'm trying to add two objects, price and tax in this case, price is 9.99 and tax is 0.87 Supposedl...
[2 replies] Last: Thanks a lot ! Can't believe I made such a silly mistake lol (by hosoi)
Using a function to reverse an input number
So I'm very new to c++ and I'm taking a class for it right now but I feel like I'm not really unders...
[1 reply] : first try simpler things... 1. try to reverse inside main function. 2.... (by anup30)
full scripts in support files?
I am just starting to learn c++.. I am a little confused how header (.h) and extra (.cpp) files work...
[2 replies] Last: If you want more specific help, post your code and I'll look it over. (by Esslercuffi)
by CDavis
So I've been researching for a couple hours tonight and I have an idea of how to do my assignment co...
[1 reply] : Make the members of overFlight private. (by Cody0023)
const parameter access problem
I've got an exercise to design and implement a class which holds name and age vectors. Further exerc...
[2 replies] Last: Thanks, that helped remove my head from its rectal entrapment :) (by OldNewb)
911 Help needed please!!!!
So the code below should make my array print out in descending order correct like 10,9,8,7,6,5,4,3,2...
[no replies]
please I need help ASAP
please I need to implement code using vector 2D Arry, this is my code but is wrong I don't why? ...
[4 replies] Last: your compiler doesn't support C++11 compile in use Or... (by anup30)
arrays and char. (1,2)
hello, i want my program to make user input 10 numbers into the array, but i also want the program t...
[23 replies] Last: It's saying cin >> array , charcheck; isn't valid. I must be using the... (by UnclePutin)
Pages: 1... 7071727374... 132
  Archived months: [sep2014]

Cannot post in this page. To post a new message, go to the first page.