Beginners - October 2018 (Page 18)

need library to convert a decimal number to fraction (rational)?
 
hello everyone, I don't know to do this myself, so I rather use a library, I need to convert decimal...
[17 replies] Last: That looks fine. If it works, you're golden. (by Duthomhas)
by Satan
Typing subscripts on console or other custom speial characters?
 
Is there any way to implement subscripts and superscripts (besides 1, 2 and 3 which are available as...
[6 replies] Last: It is a user's environment issue, so you'll need special help on every... (by Duthomhas)
Adding element to vector without knowing the parameter class
 
Is there a possibility to add an element to the vector without knowing the class of belonging to the...
[13 replies] Last: Why if i do vec.push_back(make_unique<Account>(object))); doesn't wor... (by Peter87)
saving a highscore in a game
 
Hi guys, lets suppose I create a game maybe a console game or even a GUI game using SDL or SFML,h...
[11 replies] Last: Functions such as memcpy uses void* which is much more convenient to u... (by Peter87)
Brute force Polynomials
 
The quadratic function ax^2 + bx + c achieves the value 0 for certain values of x (called the roots...
[no replies]
by Fabr
2019 error
 
Hi, I'm new here, I'm working for a game and I can't understand this error: LNK2019 external refer...
[12 replies] Last: Just do what my or Ganado's post said, and tell us your results. Also... (by poteto)
building errors
 
Iam getting bunch of building errors but the code is compiling can someone help Date.h #inc...
[1 reply] : Hello poohbear, I think your problems here are being addressed in htt... (by Handy Andy)
Calling main();
 
Are you allowed to call the main(); function? I've heard it's forbidden but it works. For example: ...
[7 replies] Last: As I recall, amongst other things, the compiler is allowed to assume t... (by Repeater)
roomtype
 
Please help with the roomtype function. #include<iostream> #include<string> #include"date.h"...
[5 replies] Last: Hello poohbear, Once I created ctors for the "Reservation" class I co... (by Handy Andy)
Recursion and Return Values [Help]
 
Hello everyone, I am having some difficulty figuring out how to restart this program or "Loop it ove...
[4 replies] Last: I am aware I could just recursively call main() and be done with it ... (by jlb)
STL Map container question?
 
I'm trying to plan a homework project where I have a database class and a report class, the report c...
[11 replies] Last: Yeah I know it was mines but I honestly wasn't sure if it was a good i... (by Patch97236)
by Seyter
Wrong and unexpected
 
Do you see something wrong with the code that cause compiler failure? #include <iostream> #includ...
[1 reply] : Lines 73 to 76 should be removed. Just removed. You have put semicolo... (by lastchance)
by jcarbo
OPening a file with a class
 
HI Guys, I have been having lots of issues not understanding why this isn't working. I'm trying t...
[5 replies] Last: If you require .c_str() when opening a filestream then you need to upg... (by lastchance)
I don't understand this error...
 
I'm not sure if this is the correct place to be posting this, but I made a similiar post on Stack Ov...
[7 replies] Last: Glad to hear you got it working, good luck! (by Ganado)
Help with C++ Reading and Displaying Input Txt file with while loop
 
Mushu911 (1) I hope this is appropriate. I'm pretty dumb. I'm very new to programming and I still do...
[3 replies] Last: Also note, for the name, the extraction operator stops processing the ... (by jlb)
algorithm/math help
 
hi again guys, this thread will be about math and how math is used in algorithms,so most algorith...
[9 replies] Last: I am guessing the parts past the decimal point are truncated right?... (by Ganado)
Question on for loops.
 
Just have a question. I want to recreate this table with any percentage and number however, I looped...
[5 replies] Last: Guys thanks, you solved my problems. I'm not really a problem solver b... (by CheesyForde1)
by gjur99
Help If Else statement
 
im trying to make this program where you can choose a language between the ones given. But every tim...
[5 replies] Last: thank you so much guys! @saeidsj @Ganado @Thomas1965 (by gjur99)
string was not declared in this scope
 
Hi guys, I seem to be having some problems with std::to_string function in the string class |...
[12 replies] Last: re-read what I said :) most of the issues we mentioned are legal c++ ... (by jonnin)
Can We Draw a Circle using ASCII?
 
Hi All! Can We draw a Circle by using ASCII Codes? Need Help
[2 replies] Last: there are famous pictures redone in ascii: my professor in college had... (by jonnin)
October 2018 Pages: 1... 1617181920... 28
  Archived months: [sep2018] [nov2018]

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