Beginners (Page 2)

by Scizor
Seeing if letter was guessed already or not
Hello, with this binary search I'm trying to make sure that the user doesn't guess a word twice in m...
[1 reply] : Correct me if I wrong I think it's because of int last = numGuessedLe... (by LendraDwi)
by Scizor
Mask and demask word
Hi guys, thanks for taking the time to look at this. I'm working on a hangman game and have masked t...
[1 reply] : You create the mask once after the word is determined and before the g... (by coder777)
how to convert string to float?
Hi, i have 2 strings: string a="100.10" string b="200.10" how to convert to float so to be s...
[2 replies] Last: Solved: string a="100.10" string b="200.10" aNumero=strtof((a).c_str... (by il dottore)
[C++] - 6x6 board game
Hi, I have a project exercise in c++ language. I have to admit I'm not so good in programming right ...
[18 replies] Last: Not really. That's going to display "this field is full" for every ce... (by AbstractionAnon)
by Mug
Output program
hello,everyone! how to write a program to achieve the following function: The value of x is assi...
[3 replies] Last: read in a value for x from the user first: (by mutexe)
OK...I made a thread the other day about the array but what I need is a private class then in main d...
[13 replies] Last: So why would anyone write all this code to code something that can be... (by AbstractionAnon)
by gmac
define your own class that will represent a fraction in your program
Ive started this assignment. Not sure what to do from here: Write a class definition for a frac...
[13 replies] Last: void fraction::reduce() { int answer1; //can combine this declaratio... (by PCrumley48)
Undefined symbol error in Turbo C++ (1,2)
I want to create a GK Quiz project named Infinite Knowledge. In this I created a C++ Class 'Quiz' wi...
[20 replies] Last: It just comes back asking : "How should we call you?:" I repeat ... (by AbstractionAnon)
Setting up QT
Hi! I'm trying to migrate from strictly console applications to GUI applications using C++, and I wa...
[1 reply] : Bump (by FSM Worshipper)
what is an abstract library?
[1 reply] : There's no such thing. (by kbw)
by zdzero
Calling a var args function from another var args function
First of all, I have no access to CRT functions. What I want is to have a nice little printf and...
[2 replies] Last: > First of all, I have no access to CRT functions. > What I want is t... (by JLBorges)
Manipulating with Files
Hello, recently, i've done a quizz for my class, where i read the questions and answers from a speci...
[3 replies] Last: (by JLBorges)
Inheritence problem
Program isnt compiling. I think its a problem with my calls to two. #include <iostream> using n...
[4 replies] Last: Once you get it compiling I suggest some changes: - Balance should be ... (by dhayden)
Class of int that goes from 0 to 6
Is it possible to create a class that contains an int that can only take values of [0,1,2,3,4,5,6]? ...
[6 replies] Last: @tcs: your code does not fully satisfies OP needs: like a class that ... (by MiiNiPaa)
Building Lot Are with functions (1,2)
I was wondering if this looks about right? I'm starting to get the hang of C++ but I need someone t...
[25 replies] Last: Can you show the full completed code please? (by mockman23)
Pointers and Arrays Question
I dont know why the average is not popping up it says 0.00 i still can't find a mistake or what i di...
[1 reply] : Line 42, 44 : Use count as index instead of numTestScores .... (by tcs)
User-defined functions
It errors. Error 1 error LNK2019: unresolved external symbol "char __cdecl price(char,int)" (?pric...
[3 replies] Last: Fix your forward declaration to char price(char sprice , int slength)... (by tcs)
My code works as is, but how do I use the constructor?
Here is my code so far: megatron.h - In namespace megatron::utility template <class T> cla...
[11 replies] Last: > My next thought would be including a static vector to the megaptr cl... (by JLBorges)
Search name(String Manipulation)
Desired Output: Enter n: 2 Please input 2 names: Ana Ina Ana Ina Enter name to search: Ana An...
[16 replies] Last: I'm a total newbie so thank you for helping me ^^ (by Vandalism)
by msrt92
Stack in array
i want to create public variable .. #include<iostream.h> //#define maxSize 5; str...
[2 replies] Last: sorry I'm not creating function for top... I m creating global variab... (by msrt92)
Pages: 1234... 129
  Archived months: [sep2014]

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