Beginners - February 2015 (Page 44)

by kiri
Loops
 
Can anyone point me in the right direction to help me figure this out more/understand it. I am tryin...
[6 replies] Last: I think I got this one down. Thanks a lot! (by kiri)
by kiri
Does spacing matter on switch statements ie
 
just some bs code but follow me..Does a space after case matter or not? char whatever; cout <<"W...
[6 replies] Last: Yea thats how I wanted it. For example, if you were entering Gradees W... (by kiri)
Help with bubble sort & binary search program
 
I've looked up the algorithms and what I have should work if im reading it right but i am getting so...
[2 replies] Last: Wow i cant believe ive been trying that for like 3 hours. It works but... (by sumtingwong59)
Structures, Vectors, Members oh my (STUCK)
 
I understand completely the idea of the Struct and Vector but when I put two and two together it alw...
[4 replies] Last: > it's giving me the error saying that "myCollection" wasn't declared ... (by JLBorges)
by kiri
Reviewing for my midterm and dont remember this..
 
Please help me :-D Given the below values and having formulas, what will be the values after e...
[6 replies] Last: :-D Thanks (by kiri)
by AVM8
How to capture user input and store
 
Capture the user input of number of footballers in variable n. Use a for() loop with variable i as t...
[8 replies] Last: Disch After a some revision from google source, i finally manage to... (by AVM8)
by AVM8
Help!!
 
i get Error 1 error C4700: uninitialized local variable 'goals' used #include <iostream>...
[3 replies] Last: AbstractionAnon correction has been made. Thank you my friend. ... (by AVM8)
by gmac
m1 X m2
 
multiplies two matrices (M1 × M2) of integers using pointers and dynamic arrays (you are not allowe...
[11 replies] Last: Thanks for the help, Im closer now. (by gmac)
Need help with loops
 
Cant get my program to loop correctly and i just cant figure it out. #include <iostream> u...
[2 replies] Last: - Use do-while loops - Have the functions return values. - Make sure y... (by dhayden)
by kiri
How do u get this?? I dont understand the % part
 
I dont understand how u get that with the %... What type of statement is this? for (int i=1; i...
[2 replies] Last: I figured it out before u answered, omg was it easy lol. Thank u thoug... (by kiri)
OS X Initialize OpenGL
 
Hello, I've converted from DirectX 11 to OpenGL 4.x on OS X. Is there a way to initialize OpenGL ...
[no replies]
I need Help! I need a quick peer review!
 
I am currently in a beginners C++ course at my collage. It's an online class and one of the requirem...
[1 reply] : Recursively calling main is not legal behavior by the standard. If you... (by Ganado)
subtracting binary numbers
 
Hello! i need help with my program. im trying to write a function that takes in 2 binary numbers and...
[6 replies] Last: IMO, the way you are trying will be difficult for you! it will be litt... (by anup30)
How do I call a function in main ?
 
So I have the function declaration at the top for example void read (string x , string y , in...
[6 replies] Last: Hm it still doesn't work i tried to do it this way read(name1, name2... (by agamatr)
Elevator program errors
 
Don't know what I'm doing wrong. Trying to write an elevator program that allows the user to display...
[4 replies] Last: Line 31: As previously mentioned, you need a ; Line 44: Also as pr... (by AbstractionAnon)
passing a const
 
i need help on how to pass a const int in a non member function? imaginary header file: #pragma on...
[1 reply] : Not enough information. You haven't show us complex.h nor the declara... (by AbstractionAnon)
I can't find the logic or it's just not possible?
 
Hello guys, this is my second post. I have a question about While-Loop with only ONE variable. Loo...
[8 replies] Last: Rules? 1) Use one variable only. 2) Use a while loop. 3) Must use ++n.... (by closed account D80DSL3A)
OO programming?
 
Hello Forum! I've decided to learn c++. I already know other languages like Java and C#. It's ea...
[2 replies] Last: World.h : #ifndef __WORLD_H__ #define __WORLD_H__ class Player; #in... (by stulleman)
Calculate Actual date
 
Hi Experts, I want to calculate date from day of the year and year. In oracle to_date function...
[5 replies] Last: You could use sprintf() to put the final string into a buffer and then... (by dhayden)
by Fedeb
Pointer to an Array Versus an Array of Pointers
 
Hi, my question is basically the title of the topic. I know that an array of pointers uses scatter c...
[1 reply] : I'm sure that's not your real question, as these are 2 completely diff... (by tipaye)
February 2015 Pages: 1... 4243444546... 52
  Archived months: [jan2015] [mar2015]

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