Beginners - November 2017 (Page 32)

[NEED HELP] Something wrong with functions from fstream and "cout" them.
I just need to know how to solve my problem. The file is in french, but I will explain you. Just ...
[2 replies] Last: Thanks a lot Andy, you really helped me !!! Thanks for your time I app... (by PichDereck)
Having trouble passing array by reference
In my code, the user enters an array to whichever size they want (max 100). I'm trying to create a f...
[3 replies] Last: Hello alexa7707, On line 27 the first argument is sending the functio... (by Handy Andy)
linked list insertion at end
Help i am almost close to getting a perfect output.Want to insert new values at end of my list. ...
[3 replies] Last: Line 8: rear is wrong. You still need a pointer to the front of the ... (by AbstractionAnon)
Invert RGB Colors of a bitmap image using C++ in Microsoft Visual Studio.
Hello all! I am new to C++ coding using Visual Studio and this is my first post. I need help in cre...
[12 replies] Last: Thank you for ur time. Its really been helpful. I understand the conce... (by adnan83)
the bug of my programmar
SumStopGame is a simple game played between two players. Each player will enter an integer (between...
[1 reply] : your program has a lot of problems I think mostly due to line 20. You... (by SamuelAdams)
this questions for C++ for how to use getline() function get all the data from input file.
this questions for C++ for how to use getline() function get all the data from input file. I have...
[2 replies] Last: Your first problem is not knowing how to format your code. (by SamuelAdams)
difference between char* s and char *s?
I see in linked list they use node* next instead of node *next. node is a structure.
[2 replies] Last: There is no difference. Both create a pointer to a Node type. Which si... (by knowclue)
by MegsD
Any Efficient way to do this
The program tells you what you can do depending on your age. /*This is basically the what the prog...
[6 replies] Last: there are 2 ways to make this type of logic problem more efficient. ... (by jonnin)
incomplete program- help needed with insertbeg() function
I am doing linked lists and want to enter new values to beginning of my list. Can't figure out what...
[4 replies] Last: I gave you comments explaining each line of my insertbeg(). Regarding... (by AbstractionAnon)
I m little stuck in my programme which I got as a assignment today can anyone direct me that how to...
[5 replies] Last: All right, I would start then by creating the function that will retur... (by knowclue)
Trying to cout an array that user has made
So I prompted the user to choose an array size (max 100) and input values. However, when I try print...
[1 reply] : It looks like your loop has things the wrong way round. You should get... (by Repeater)
i want to ask how to copy one of outputs in while loop to display outside the loop #include <ios...
[2 replies] Last: If you want a value created inside a loop to be printed after the loop... (by Enoizat)
Stuck on how to start project
I am a little stuck on how to start this project that I just got. My main goal is to create a class ...
[1 reply] : CSV files are simply text files that have a comma between the 'columns... (by jonnin)
Dude with not recognition class
Hi everybody, im new here and this is my first post. I am a beginner in c++ and i have a problem ...
[4 replies] Last: That often indicates a missing piece of punctuation on a preceding lin... (by Repeater)
someone please run my code and tell me what's wrong with it
weird symbols come in the output along with the intended output. #include<iostream> #include<stri...
[3 replies] Last: Line 23 has: sales s1("Raman",5000) and warning mentions conversion... (by keskiverto)
by Elsino
Write your question here. So i have created a 2d array with malloc and I m trying to STRTOK a file ...
[3 replies] Last: Allocate the memory for the array after you know how many words you ha... (by MikeyBoy)
Closing the Console after cout
I'm writing a small game for university and on launch it gives the user the choice whether to actual...
[1 reply] : if (answer == "N" || "n") I assume answer is declared as a string?... (by Chervil)
Need help opeing and closing the file
// This program reads data from a file and // prints it in a nicely aligned table. // PUT YOUR NAM...
[1 reply] : Missing header fstream. No idea where you're getting tmpfile from; no... (by Repeater)
by yasleo
assistance with file program
Hello Everyone I am a bit stuck on this program, if you can offer some insight to what may be wrong ...
[1 reply] : The code is ok. I get the following output: 10 2 18 5 4 So what's t... (by Chervil)
input from file into an array
I need to take input from a file and insert it into an array to be used in a later function... Ho...
[1 reply] : You could read from the file like this. // declare and open the... (by Chervil)
November 2017 Pages: 1... 30313233
  Archived months: [oct2017]

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