Beginners - March 2012 (Page 11)

NetBeans makefile missing
 
OK, so I understand C++ as a language well enough (I'm in the fourth quarter of a C++ class in school) but I've never been taught about the "behind-the-scenes"-...
[8 replies] Last: no problem, happy to help. (by ui uiho)
Cars & garages algorithm
 
Hello! I don`t to know how to solve this problem: We have X garages and Y cars (we write them the first row in input), the second row we write X numbers which a...
[1 reply] : The question is to find maximum distance between the nearest two cars... (by ne555)
by jorz
ringbuffer
 
Hi all, I am getting in to the serialport class at the moment and I can read data without any problem but the thing is where do I store it. I just would l...
[4 replies] Last: Hi all, I have a time class that runs every 100ms this picks up the d... (by jorz)
by anibal
bit representation of floats, help please!!
 
Hi. Im new here and this is my first post, I hope you can help me with this problem I have: I'm trying to understand how the machine is working with different t...
[2 replies] Last: Thanks so much for your help!!! (by anibal)
some help plz
 
k i have a function: void copyB(const int *fromPtr, int rows, int columns, int to ) { int r; int c; *fromPtr++; for (r =0; r<=rows; r++) { ...
[no replies]
variable diagrams
 
juat a quick question, say u get a variable function like this: void func2(int n, int & n1) { n = 2 * AA; n1 = n - n1; } and AA = 200; n = 20 ...
[1 reply] : You don't "get" n1, you should already have it when you "give" it to t... (by LB)
basic stuff
 
This is my program: #include <iostream> Using namespace std; Int main () { String name, addr1, addr2, postalCode; Cout << "Enter your name: "; ...
[6 replies] Last: thanx every1 for the help, i got it right, and works perfect now (by Stephie22)
Help looping a file correctly
 
I am trying to loop my infile and readings correctly. right now i am only getting 4 of the data sets in my output. I am not sure about how to go about the loop ...
[no replies]
Linked list and pointers :)
 
Ok So I'm studying linked list and pointers and having some fun with it. I have tried some different read and print methods using pointers. I can't get it to co...
[2 replies] Last: WOW, i feel retarted! thanks for the time (by shrimpy)
Varibles question(Floats)
 
ive been learning sfml lately and ive come across this line of code while learning: const float Speed = 50.f; float Left = 0.f; float Top = 0.f; What ...
[2 replies] Last: Thank you, the tutorial makes so much more sense now! (by Need4Sleep)
MS Visual C++ 2008 not creating exe
 
I've installed Visual 2008 on my PC but every time i right a simple hello world it wont compile because it says the debug exe is missing. Can anyone help me on ...
[no replies]
Reporting on Monthly Sales
 
I have been tasked with the following: I am new to programming. I need to create a program that tracks sales. The store owner wants to keep track of monthly s...
[1 reply] : :D :D :D (by Shinigami)
read a new line from file multiple function calls
 
I'm trying to read in a file one line at a time inside a function that gets called multiple times from main, but I cant seem to get it to stop at the end of a l...
[2 replies] Last: thanks. I opened it in main and it persists between function calls, bu... (by savan12986)
by hcta
Closing Console Fix not working
 
Alright, so I've been reading this pdf/online book of learning C++, and I got Dev-C++ as a compiler to run the "hello world" program. The console closed down i...
[4 replies] Last: I remember when reading through that post someone posting a cool idea ... (by ascii)
Help with snake
 
This is what I have so far, I just don't know how to give it the tail. For some reason that is eluding me. #include <iostream> #include <ctime> #include <c...
[no replies]
Union Abilities
 
I'm stepping into unknown territory here (like always). I'm fiddling around with union s today. So I decided to create a union that houses a single variable ...
[4 replies] Last: [quote=Disch]If they are both are meant to point to the same thing, yo... (by closed account zb0S216C)
error with operators in vector
 
Hello, I am getting an error with all of the operators in my program... I would understand if I had not included <string> or <vector>, but aren't these operator...
[1 reply] : when you do things like this: int i; vector<string> b; b.push_back(... (by Stewbond)
Midterm Lab. Please help!
 
Assignment: Show off what you can create with what you've learned about Processing this semester. Don't hold back. This should be your best work so far. Th...
[2 replies] Last: I believe I have to make some sort of graphic. I'm working on openFram... (by tennisjad3)
Dynamic Arrays.
 
I was wondering something about array and the 'new' method use for dynamic array's.I have noticed that withing an array, it's element initialization cannot be c...
[8 replies] Last: Yes. That results in a leak. Prior to another allocation you should d... (by closed account zb0S216C)
Can you help me understand this basic thing ?
 
I have been trying to learn C programming from some webpages I downloaded but I find I cannot work this out and the webpage leaves me none the wiser. int ...
[4 replies] Last: Cheers thank you so much for your forbearance and your help :-) (by Philip70)
March 2012 Pages: 1... 910111213... 71
  Archived months: [feb2012] [apr2012]

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