Beginners - October 2012 (Page 61)

by AIVIO
Is it logical to learn C & C++ both?
 
Hi! Sorry to interrupt again for A LITTLE REPEPITUVE question! I faced a problem: Our teacher (In university)) says: I'm teaching you C and the exams I will g...
[1 reply] : Learning C or C++ will make the transition [C to C++ or C++ to C] easi... (by closed account zb0S216C)
Alignment issue.
 
Hi I'm having some issues with aligning this program I'm working on. I am completely lost on what to do so if anyone could help me out I would greatly appreciat...
[1 reply] : If by "aligning" you mean aligning the output as per the image then th... (by codewalker)
HELP+Suggestions!
 
Hello, I need some help here!! I need to the following program but I'm stuck in the part that says "and additional 10% off for every day of the week (second day...
[1 reply] : (this has nothing to do with c++ as such, but) total = oprice - (opr... (by codewalker)
by G3PO
Rewriting a C++ in C
 
I know this forum is for C++, but I'm supposed to write my program in both C++ and C, and was hoping somebody could help me with the C part. I've converted most...
[4 replies] Last: Okay I messed around with it and found that %ld works. Thanks for the ... (by G3PO)
by weegee
I need help with this comparator
 
Hello world! I need some help with this program: using nested if, make a program that compares three numbers and say which is the highest and lowest, if the...
[1 reply] : Instead of writing each case like that (which is very long-winded, tak... (by Stewbond)
by AIVIO
Should I start learning C++?
 
Hi! I want to start programming wishing to be a game programmer. I asked, I searched and everyone said"if you want to be a game programmer, well , C++ is the ...
[6 replies] Last: Hi again guys, I have another question, but I didn't create a new topi... (by AIVIO)
How to conver pseudo code in algorithm?
 
How can I convert pseudo code in algorithm like this one: "Question: Take 2 numbers from user n operator (+.-,*,division) , perform requested operation n displ...
[1 reply] : You just wrote the algorithm, all you need is the syntax: 1. int a, ... (by Stewbond)
pointer to an object within another class.
 
Hi, I'm trying to create a pointer to an object within a different class. I don't really know how to construct the pointer to an object. There are three bas...
[1 reply] : How about? SignalChangedEvent(Component& c, int i): wire(new Wire(c,i... (by Stewbond)
[Solved] Vector<Vector<int> > fills with same data
 
Hey guys and girls, Sorry if this has been asked a thousand times before but I've searched and not found an answer so thought I'd ask in case others are havi...
[7 replies] Last: Ok I've got it figured out. The main confusion came from the fact tha... (by RyanfaeScotland)
typedef
 
Hi all, typedef int Int; Now, Int has the same meaning as int . So the compiler gives the second element behind typedef ( Int ) the meaning of the ...
[6 replies] Last: Thanks for the information, Cubbi :) I appreciate it. Wazzak ... (by closed account zb0S216C)
variable not being initialized. Help!
 
Hi i'm trying to make a program that reads three students grades and then finds there average then display their first and last names, their average and a lette...
[10 replies] Last: It was in the wrong directory, I got it working now. Thank all of you ... (by Dylan2012)
I need something that can hold multiple integers.
 
I need some sort of variable that I can use to hold multiple integers and can print out basically. e.g something userNumber = {a, b, c, d, e} // something al...
[11 replies] Last: Replace endl with " " (by TheJJJunk)
Problem with calculating the mean.
 
cout << "\n\nThe Mean of your Numbers are: " << userNumbers + userNumbers + userNumbers + userNumbers + userNumbers / 5; I'm trying to calculate the m...
[2 replies] Last: Haha, thank you! I should have remembered BIDMAS (by DJLad16)
IDE + Compiler without Admin privleges?
 
Hey all, I was hoping I could get a bit of advice on an IDE + Compiler that I could set up on a school computer without any admin privileges? It is a compute...
[1 reply] : http://www.softpedia.com/get/PORTABLE-SOFTWARE/Programming/Windows-Por... (by Chervil)
Geting an interger to float
 
I dont know how to get the numbers to show up on the side but this is my program for counting coins and this is the error i keep getting converting to `int...
[9 replies] Last: Thank you guys/girls. You are all awesome. I got rid of the error than... (by kmcbeth)
am i right?
 
guyz firstly , i am a noob.. its been only a week since i started learnin c++ and c. i got a task to produce an output of 1 22 333 4444 with loops.. i...
[5 replies] Last: One of the concepts in programming is to recognise patterns and sequen... (by Chervil)
Problem with my loop and switch statement.
 
So I wrote this code and everything works fine but this one spot. When a user types in an in valid key and this only happens if it goes to the default statement...
[4 replies] Last: Thank you that solved my issue gosh it was bothering me so much lol (by OLittleO)
Associative array or database for AI?
 
Hi, being a proficient googler, this is my first time using a forum EVER, so please bear with me. I've been looking up how to create a database file that works...
[2 replies] Last: Thanks! I'm looking into it now. Is this the best way to add the entri... (by superquinn)
Header file - No such file or directory
 
Hello, im doing the infamous "Hello, World!" project, following Bjarne Stroustrups book "Programming: principles and practice in C++". Although ive managed to g...
[6 replies] Last: I think you might need the std_lib_facilities.h to do some of the c... (by guestgulkan)
by abaz01
arrays subtracting numbers
 
hello people, im trying to write this program that subtracts 2 from each element of the array, the program works fine but it gives me a wrong answer for the las...
[2 replies] Last: @Stewbond i tried that before and it only outputs 9 elements, (up to ... (by abaz01)
October 2012 Pages: 1... 5960616263... 84
  Archived months: [sep2012] [nov2012]

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