Beginners (Page 3)

Omit new line in a String - C
 
Hello, I want to omit a new line in a string, because I don't want to go to the newline. ...
[2 replies] Last: If you read name in with fgets it may still have the newline at the en... (by dutch)
chashier return
 
So i am trying to make a cashier program where the user enters the amount of money entering in a cas...
[2 replies] Last: i highly recommend using long long instead and letting 1 == a penny i... (by zapshe)
Players play in fixed order
 
Hi, I wanna play a game in which each player can call a function etc. My goal is now that i can sele...
[2 replies] Last: Use a vector instead of a variable length array. Also, create a Playe... (by dhayden)
Errors in code with MinGW
 
Hello, I am trying to learn to use MinGW, as I am going through a set of tutorials. I have a piece o...
[6 replies] Last: mmm I just created a new visual studio project and then saved that, no... (by DonnaPin)
Incrementing time with a time limit?
 
Can anyone help with writing a program that has three variables? N,M,T are the variables. N is ti...
[8 replies] Last: Thank you! Again I apologize for posting a question when I was unclear... (by Fayezilla)
by Peon
pointer-to-object type
 
I've been working on this for longer than I'd like to admit. I also have read up on https://www.tuto...
[6 replies] Last: > that was verbatim the error message (...) > aside from the preface "... (by ne555)
(urgent) recursive function and doubly linked list
 
Hello guys,I have doubts on how to do the function below can you help me? please guys help me I do...
[5 replies] Last: Is build_recursive() supposed to build a new list from the data in the... (by dhayden)
How text becomes executable - complier, linker
 
Hi, I have done a little c++ before, But I have never really progressed with it. So I have decided t...
[1 reply] : I know you can have multiple cpp files, is one of those cpp files a s... (by helios)
Mathematical Order Confusion
 
Hi there, I'm wondering if anyone can clarify a code for me. I'm trying to understand the orde...
[1 reply] : a / (r1 / r1 + a * r1 - a * r1) That will always give the answer: a. ... (by lastchance)
by sparki
Rendr function
 
Could someone please explain what's going on in this rendered background function? Really appreciate...
[4 replies] Last: I would do what I understand easily and work it up from there. lets s... (by jonnin)
Using sqrt() with arrays of vectors to determine magnitude
 
I need assistance. I am in intro to C++ and I'm writing a program that uses arrays to do vector math...
[7 replies] Last: OK, so there we go. The vectors ( BTW NOT STL <vector>'s) are positi... (by againtry)
(urgent) Two warning relating Initialization.
 
Hello Guys, I have been working on this problem, it has taken more than 2 days but I still couldn't ...
[7 replies] Last: Hello ColBosky, Sorry for the confusion. After i posted I loaded your... (by Handy Andy)
How do I read one column from a text file
 
My professor wants us to make a program that averages and sorts grades from students. But the way he...
[5 replies] Last: out put the LOWEST SCORE IN CLASS, HIGHEST SCORE IN CLASS, and NUMBER... (by dhayden)
lvalue required as left operand of assignment
 
s is a string. (int)s =(int)s -32; on this line i get the error lvalue required as left o...
[1 reply] : Well cast expressions are r-values, so perhaps s =(int)s -32; ... (by salem c)
sort result is not what I thought
 
sort can enter lambda function to the 3rd parameter, but I don't know why below function will sort ...
[7 replies] Last: Not sure if that was a statement or another question, so I'll just add... (by Ganado)
by Mif
Can't see items in the listview
 
After creating the list view.. items are there i can select them but they have transparent brush or...
[5 replies] Last: My resource.rc part for this code: . . .///////////////////////////... (by Mif)
Code for shortening a fraction + program stops for no reason.
 
Hello! I have been working on a program that can add two fractions together. But I have some trouble...
[1 reply] : Geez... It's "numerator" and "denominator", FFS. You spelled each word... (by helios)
Initialization array of char in C
 
Hello, I want to initialization an array of char in C and I don't want to use a pointer. How can...
[2 replies] Last: In C++, apparently you need to specify the size of the array explicitl... (by Ganado)
Please help me understand what I'm doing wrong?
 
Need help understanding why the math is not outputting when I debug and I don't get any errors when ...
[2 replies] Last: Gotcha once I switched it around I got it to work. I appreciate the he... (by somethingcool)
Help with circular buffer
 
I have been asked as an exercise to implement a circular buffer. I just need a bit of a hand underst...
[14 replies] Last: Thanks everyone for your help! I have written test program and ran thr... (by jamesfarrow)
Pages: 12345... 15
  Archived months: [may2020]

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