Beginners - October 2017 (Page 8)

Pass c++ strings to ncurses mvwaddstr()
 
Hello, i need to pass regular c++ strings to the ncurses mvwaddstr() functions. How can achive this...
[1 reply] : std::string provides c_str() method for this. (by closed account DoLCX9L8)
by Chriss
stack
 
Sry i make stack (becouse i wanna lern how it's working) can u check this ? And say something about...
[1 reply] : Usually people here ask for help with specific problems. Do add a main... (by Enoizat)
windows 10 code blocks problem
 
I just got from windows 7 to windows 10 programming in c++ and i can't use some of the old ascii cha...
[3 replies] Last: Or just use the Unicode code points: https://en.wikipedia.org/wiki/Cod... (by helios)
Need guidance
 
I have problems with this task. My code is shitty so I won't upload it. The drama theater hall plan...
[1 reply] : My code is shitty so I won't upload it. Should we now say that our a... (by keskiverto)
by Tsaot
Just a quick question regarding the use of class objects
 
For my homework I'm supposed to make a guessing game. The instructions say to use at least one class...
[6 replies] Last: Ah! Thank you! That makes sense. I did start by using just an array, b... (by Tsaot)
srand error
 
I am writing a program for a magic 8ball. I believe that I have everything I need with the exception...
[3 replies] Last: Thank you!. That worked out well! (by smitty007)
Convert do while to for loop
 
I was wondering how I could convert this section of my code to a for loop do { cout << "Ente...
[1 reply] : for (ans = 'y'; ans == 'y' || ans == 'Y';) { cout << "Enter all ... (by closed account DoLCX9L8)
by glof2
C++ polymorphism
 
I moved to objective c++, and i had to learn polymorphism. I understand basic. Complete basics. But ...
[13 replies] Last: The lastest version is free as well: https://www.embarcadero.com/de/pr... (by Thomas1965)
Help with displaying a pattern
 
I need help with this problem: "Ask the user to enter a positive number, the number will determine ...
[2 replies] Last: This is what I have so far. I believe this is what the pattern is doin... (by hh98265)
whats wrong with my code?
 
I keep having problems with this code for this problem any help would be greatly appreciated "The ...
[1 reply] : First of all, your declaration of getGrossPay() at line 7 and definiti... (by closed account DoLCX9L8)
Issue with my code not calculating pie π
 
Hello, Sorry for my inexperience, i am in need of some help with my code. My task at hand is ...
[2 replies] Last: as a side note, 1000 terms not getting even 5 digits is pretty weak --... (by jonnin)
Class with public functions?
 
I need to add a public member function ( addMoney ) to add money1 and money2. I'm having a hard time...
[2 replies] Last: Thank you sooo much!! I understand now Money addMoney function.... (by nicoleb)
by iif201
functions issue
 
Im trying to run a program that lets the user enter a viewing code and title and then get back what ...
[2 replies] Last: What I have done here is created working code that is similar to what ... (by heintzman)
How to have structs relative to an object?
 
Hello! I am making a Pokemon program in Visual Studio, and I was wondering if I could have specific ...
[19 replies] Last: Good luck. If youre trying to implement the actual formulas you will n... (by knowclue)
maybe simple for you but not for me MULTIARRAY
 
i have multiarray like this 1 2 3 4 5 6 7 8 9 10 11...
[6 replies] Last: @jonnin yeah you were right i dont look it from that prespective, my b... (by Ryoucplusplus)
help for save many data into array (1,2)
 
please helppp. i have data saved in file data.txt 63.067098 128.986908 0.89787897 ...
[27 replies] Last: @lastchance Ok perfect, thank you very much despite my question has ha... (by Ryoucplusplus)
Bank account with classes won't store new balance
 
I'm writing a bank account program using classes and I'm running into a problem. Everything compiles...
[2 replies] Last: that didn't help with the initial problem, but it did help with a diff... (by jokersleuth)
Cannot convert to 'Int'
 
I don't quite understand what exactly I change in the bubbleSort function to make it work. cannot...
[2 replies] Last: Got it! Changed it string temp; and works perfectly. Thank you! (by Garribean)
Limit for Random #s
 
I have a random # being generated but I only want each number to be generated no more than 4 times (...
[3 replies] Last: Small sets of known values   For decks of cards and the like, just ... (by Duthomhas)
Reading a file
 
Hello, my professor gave us a file that has peoples names, current salary, and salary % increase. He...
[10 replies] Last: Try to mess around with stream formatting functionality inside the <io... (by Ganado)
October 2017 Pages: 1... 678910... 33
  Archived months: [sep2017] [nov2017]

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