Beginners (Page 3)

Binary Compression
I'm currently taking a beginners C++ class and this program has been throwing me for a loop. I've co...
[2 replies] Last: First, you are doing text compression, not binary. A nit, but there,... (by Duoas)
How to write on text file
I want to have this output on my screen but my code is not working correctly, could anyone help me f...
[no replies]
LNK2019 and LNK1120 error
I am writing a program that implements merge sort for my C++ class, and receive LNK2019 error for an...
[1 reply] : Update: I now see that I cannot template main(), so I remove that temp... (by RobertErvin)
stoping loop if input is '\n'
i am trying to stop the first for loop when the user ONLY inputs "enter" and then display the curren...
[4 replies] Last: Line 24: i changed to while (*Names != '\n') however it is not sto... (by grimsniper44)
I need to break down the program into function calls and prompts the user for an order until he exits the program
Write your question here. #include <iostream> #include <iomanip> using namespace std; int ma...
[6 replies] Last: Okay I'll try as much as I can and post my work. Thank you so much! Pl... (by welhour0)
functions won't work, please help!
I'm not good with arrays, or functions for that matter, and i can't seem to make this program work...
[1 reply] : Please explain the int i; in lines 88 and 106 (┬┐why did you put tha... (by ne555)
How can i display this ascii art?
Hello everyone. I know there have similar questions but i felt i should ask myself since i haven't f...
[4 replies] Last: and you have to pay attention for when the size extends 80 (the maximu... (by JewelCpp)
Text Files
Hi guys. I need to write a program which reads from a text file the elements of 2 given matrices. ...
[3 replies] Last: ok so ive made this sample and it seemed to work for me. this is to r... (by mxood)
If statement inside for loop with respect to elements of a string array
I've looked all over the internet, have asked a much more experienced programmer about it (he direct...
[4 replies] Last: I see. Thank you very much for your help AbstractionAnon :). Problem ... (by fryingpan)
by jeogbl
Program that shows secondary colors made from primay colors
I'm trying to write a basic program that takes primary colors and shows the user a secondary color m...
[2 replies] Last: I'm want the user to input two of the three primary colors and the pro... (by jeogbl)
Finding a max and min numbers with user input
Hello everyone. I am working on a block of codes that will get the test scores from the user and it ...
[1 reply] : int maximum=0; int number,sum=0; int minimum=0; ... (by James2250)
by bgmnk
NaN in Program
This is supposed to be capable of solving quadratic equations, but it sometimes returns NaN. Such a...
[4 replies] Last: there is another way of resolving the problem: you can use the <comple... (by JewelCpp)
Blank compile screen
I have two problems that I have stared at and tried editing to get them to compile.. Can someone ple...
[6 replies] Last: Ok i fixed that... did not know it showed highlighted with the <>... o... (by squirrel27)
Weird bug with color in cout
Hi all, I'm writing a simple program that displays information and I've run into a bug where my colo...
[13 replies] Last: @Mary M Okay, I fooled around with the code a bit more. I added a c... (by whitenite1)
by rshoe
Using TryCatch in functions
I am learning to use the Try Catch Throw but I am having a hard time getting all of the throws to wo...
[no replies]
by Danwd
Sudoku solver - Stack overflow.
I am a complete beginner at C++ and I have been tasked to create a sudoku solver, I have written a p...
[5 replies] Last: Don't recurse so deeply. :) Seriously, try and reduce the amount of... (by AbstractionAnon)
by Auroch
Asssociative arrays: How to add data?
Hi, I have the following problem: Text file "strlines.dat" contains series of the following informat...
[3 replies] Last: Still won't compile. You haven't fixed the errors in line 6 and 16 th... (by AbstractionAnon)
by mjatt
help with string literals
const char * a = "jatt"; in what form ,the string literal above gets stored while compiling? ...
[3 replies] Last: Thanks for the correction giblit. I tried to compile on ideone and it... (by wildblue)
Hard coding a text file
So for this project I am given a text file that I need to hard code and read. Usually we have to as...
[4 replies] Last: If you just put in the file name, the the program will look in the cur... (by SamuelAdams)
In articles there is a game by Foxefde Oct 30, 2013 for c++ console I copied the code but ...
[14 replies] Last: i have to update and set my dev c++ or get new IDE then try again (by Mehrdad87)
Pages: 12345... 129
  Archived months: [feb2014]

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