Beginners (Page 51)

QuickSort Problem !!
I don't know why the recursion QuickSort isn't execute. #include<iostream> using namespace...
[1 reply] : you have not written the partition function. (by anup30)
by thor36
Error when reading from text into double array
Greetings all. I have a text file named data.txt . data.txt contains "double" numbers, one in each l...
[4 replies] Last: Thank you, that was it. I didn't know about opening and closing files ... (by thor36)
Doubt On Abstraction and Encapsulation
From my point of view Encapsulation: we Bind the data and methods to be executed on that particula...
[no replies]
Problem with for-loop
Hi everyone I have to created an array in which I store the coordinates of n target (n is determina...
[1 reply] : Line 7 is not valid C++. array sizes must be known at compile time. (by AbstractionAnon)
Two equivalent lines of code produce different results
Hey guys, I'm having a slight mindf*ck here. To simplify my code: #include <iostream> #include <c...
[7 replies] Last: I ran into the float issue using pow() with int variables. . .not a go... (by PCrumley48)
Book suggestion to understand Tokens
I'm reading "Principles and Practice Using C++" chapter 6, it's about using Tokens and as if the con...
[6 replies] Last: Thanks everyone.... found this on Bjarne website: Token get_token() ... (by BigRedMachine)
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)
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)
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)
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)
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)
by EvE12
Back to diamond problem
I want to keep the outside stars only and remove the inside diamond shape to be like * ...
[7 replies] Last: Thank you, Sir. (by EvE12)
Using ofstream with structs
Hello all, thank you for taking your time to view this issue. I am currently reading in a .csv file ...
[no replies]
i have no clue what to do here. please help.
Create a CharConverter class that performs various operations on strings. It should have the follow...
[no replies]
can someone explain why (char - 'A' + key) % 26 + 'A' works for the caesar cipher?
i had to make a program using a caesar cipher and i did that but the only thing i had to google caus...
[2 replies] Last: thank you, i understand what the formula does now (by idknuttin)
Having trouble outputting correctly.
I have to write a program that takes an input file formatted like this. FR3D,jones,123456-7891,12...
[2 replies] Last: As for outputting it to a file, I would suggest creating a string vect... (by FSM Worshipper)
Pages: 1... 4950515253... 107
  Archived months: [oct2014]

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