Beginners (Page 3)

C++ converting to template classes (operator errors and such)
EDIT: I fixed mostly everything and now I just have the following two errors in my AnyList.cpp file,...
[3 replies] Last: Good point! (by gunnerfunner)
by alware
toitoi 1
Write your question here. Put the code you need help with here. #include <iostream> #in...
[1 reply] : Hello alware, Please use code tags around your code. It gives it line... (by Handy Andy)
by gomega
C++: Accessing Text File to Organize and Display to User
Write your question here. I have a basic C++ program trying to access a text file, grab information...
[2 replies] Last: Thank you so much for your help! Everything is perfectly clear now. ... (by gomega)
Passing data between classes
Suppose I have two separate classes, Class A class A { public: int length; }; Class B class B ...
[4 replies] Last: AbstractionAnon, thanks; that seems to be the solution. The examples ... (by pharoah0110)
Generating all possible combinations of numbers under a certain number.
So im writing a program which finds pythagorean triples. I need to find a way to test out every sing...
[4 replies] Last: Hello @billy606, it seems you've started two threads for the same prob... (by gunnerfunner)
by fout
I'm new to coding. I'm working on a class assignment that converts a zip code to a barcode. I'm stuc...
[2 replies] Last: Hello fout, Unless you come up with some kind of loop there is no sho... (by Handy Andy)
#define macro
So I know using #define replaces the identifier by whatever you defined it as. So if this is true w...
[3 replies] Last: You should visit They write in C and therefore ... (by keskiverto)
i am trying to have a way to make the program goback to the top of the while loop. When the user ent...
[3 replies] Last: Hello fivestar, If you want to put an if statement in before the while... (by Handy Andy)
I need help for a value by reference program
I need help for a value by reference program with the area of a rectange Why doesn't my code work??...
[4 replies] Last: Line 56: You can't return 3 values. See the comma operator here. The... (by SakurasouBusters)
I had a bet with my friend, this is my second question posting on C++ ever. My first experience wasn...
[4 replies] Last: Don't spam the forum with multiple threads on the same topic. it wast... (by MikeyBoy)
lines to txt file
I have two issues, so far, I am able to open an existing txt file, and write a line of code at the e...
[4 replies] Last: > if I wanted to say, add a line of text in between a certain line, wo... (by JLBorges)
Loops - Drawing a Tree (c++)
Hi! I'm having trouble with this problem. I was wondering what would be the best way to do this? ...
[7 replies] Last: alright, thank you so much! (by student2019)
help me to solve this Fill out an array of as many as N random numbers from 0 - M N and M enter...
[7 replies] Last: The language of the identifiers is not a real issue. We see a lot of m... (by keskiverto)
by om4r97
logical error with Fstream
i have to initializes data from file and use array of struct to output the final result my text Fi...
[4 replies] Last:"lol.txt"); Should be : string fileName("lol.txt"); (by SakurasouBusters)
Validating a C - String (Numeric or Alphabetic)
Write a program that asks the user to enter a part number to order. The rules for creating a part nu...
[12 replies] Last: Okay I'll look into the problem. Thank you for your help once again la... (by Helexander)
Is there anyway to quit using String name
Is there anyway using string name to quit program. by using number in string to quit program. for ex...
[6 replies] Last: Thanks @Handy Andy.. its works :) (by DesmondLee)
Text based "dating" game using OOB advice, Passing objects to contructors
So I'm making a text based game using Classes, inheritance , derived classes and the such for a clas...
[2 replies] Last: Thank you much! More than anything I was hoping to get guidance on how... (by archidit)
How to store a random number in array
Hi everyone. I'm still new to programming and now I have some issue on the array So now, I had copie...
[2 replies] Last: Thanks for your info. (by ivesklt96)
Name a out file using strings
So I want to create a file to output some information into and want to include to user inputted stri...
[4 replies] Last: std::ofstream gamefile(team1 + '@' + team2 + ".txt", std::ios::app); ... (by cire)
Pages: 12345... 75
  Archived months: [aug2016]

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