
please wait
by Baconator
I must be making a few simple mistakes, but i can't find them and it's making me.... AAAHHHHHHHH!!!!!!!!!!!! **Smash computer
|
So I'm trying to write a code that calculates ride fares and it's just about complete, but there's a small problem... when I run this code the final function do... |
Feb 26, 2017 at 9:36am
[2 replies] Last: That was it! Thank you so much! (by Baconator)
|
by DirtyBlasion
PNG Loading
|
Hi, I code for fun, nothing comercial going with me, so I decided to work with gl.h glu.h and windows.h, everything nice, once I realised something, how do I lo... |
Feb 26, 2017 at 9:16am
[6 replies] Last: If you want to load and display PNG from scratch you will go nowhere b... (by Pattako)
|
by Kourosh23
this -> keyword C++
|
What is this-> ? What is its purpose ? What else can be replaced for it? Somewhere around lines 25-30 in the code. I found it online on tutorials point websit... |
Feb 26, 2017 at 8:39am
[1 reply] : http://en.cppreference.com/w/cpp/language/this (by keskiverto)
|
by Baconator
Not sure why the last bit of my code isn't working.
|
I'm trying to make a code to calculate a ride fare, but I'm getting hung up. When i run my program, everything after my if statements doesn't seem to be working... |
Feb 26, 2017 at 7:41am
[2 replies] Last: Ah, such simple little mistakes. Thanks for your assistance! (by Baconator)
|
by dipzki
hi, i am new here.
|
hi guys, i wonder if someone could help me with my problem. i was given a problem , i need to multiply by 5 and add by 2 the random numbers wich will be ... |
Feb 26, 2017 at 7:05am
[1 reply] : int num = 0; std::cout << "enter a number: "; std::cin >> num; std::... (by integralfx)
|
by chinaski
Explicit vs Implicit conversion
|
Hey guys, my text book is somewhat confusing on this topic. I know that even if div is of type double, the integer division is done before assignment, so div... |
Feb 26, 2017 at 5:49am
[1 reply] : > What is implicit conversion exactly? An implicit conversion is any... (by JLBorges)
|
by w4ssup
copy char pointer to string
|
I have static char sID = "888888"; static char pin = "8888"; static std::string postData = ""; and In a function I want to pass the first string to po... |
Feb 26, 2017 at 4:21am
[2 replies] Last: thanks my dude, works perfectly (by w4ssup)
|
by pmi
NAN in program output
|
Hey I tried to run a code, but the output is NAN, Can anyone help me? thanks Window Trail #860 sq var.: nan Window Trail #861 sq var.: nan Window Trial #... |
Feb 26, 2017 at 2:39am
[4 replies] Last: The NaN values are used to identify undefined or non-representable v... (by integralfx)
|
by Tellumendil
Question regarding using eof in a while loop.
|
My professor assigned us a project that requires us to use "eof" (quotation marks for emphasis) in a "while" loop. I have done quite a bit of research and reali... |
Feb 26, 2017 at 2:36am
[4 replies] Last: Have a look at the tutorials on this site and here is the section on i... (by closed account 48T7M4Gy)
|
by bmccormack
Failing to Pass values correctly
|
I'm trying to assign a fraction but when i run it its giving me an incredibly large number so guessing that its not being passed correctly. It works fine whe... |
Feb 26, 2017 at 2:00am
[2 replies] Last: thank you....i really appreciate it (by bmccormack)
|
by wasey
New to Valgrind, help interpreting?
|
Can someone help explain what Valgrind is telling me? I have a void function named smallSort2 that takes as parameters the addresses of three int variables and... |
Feb 26, 2017 at 1:48am
[1 reply] : int *ptr1; int *ptr2; int *ptr3; int temp; *ptr1 = *a; *ptr2 =... (by cire)
|
by FirasHafiz
Treasure hunt Game
|
Hi Guys! I've been asked to make a treasure hunt game. Anyone wanna help me out with it, I've got some basic coding so far at home, so I cant put it here. ... |
Feb 26, 2017 at 1:30am
[3 replies] Last: 1. You use extern too excessively without knowing what it means . 2... (by Pattako)
|
by GoonerBrian
Unlimited size palindrome
|
I need some help with a homework assignment. I'm really new to C++ and I'm not sure what search terms to even enter to learn how to do what is being asked of me... |
Feb 25, 2017 at 9:34pm
[5 replies] Last: Thank you. (by GoonerBrian)
|
by llSPEEDll
Looping question?
|
So, I'm trying to figure out how to get everything within the cout lines to repeat if the user puts 'Y' in the "Would you like to enter information for another ... |
Feb 25, 2017 at 8:39pm
[2 replies] Last: @ joe864864, When I compiled the program here the compiler gave me a ... (by Handy Andy)
|
by FirasHafiz
Cursor INSIDE an 8x8 grid.
|
How would I get my cursor to move INSIDE the grid? My grid. extern char mainGrid = { { 'X','X','X','X','X','X','X','X', }, { 'X','X','X','X','X','... |
Feb 25, 2017 at 8:33pm
[no replies]
|
by adam2016
Networking protocols
|
I'm not sure if this is a direct question relating to c++ but it could be,anyway how do networking protocols work and mainly are these protocols written in a pr... |
Feb 25, 2017 at 8:25pm
[3 replies] Last: I'm sure what Joe meant is there are books with thousands of pages jus... (by SamuelAdams)
|
Problem changing the program |
Hello, I have a problem. I type the code, I run the program and it works. Then I delete the cout, run again and it still shows the result from last time. I don'... |
Feb 25, 2017 at 7:30pm
[3 replies] Last: I found out the problem, thank you for your help, i appreciate it. (by elciobandante)
|
Stuck in Infinite Loop |
I am a new student learning C++ for the first time. I am trying to write a code to play simplified form of Blackjack. I have run into a bit of a problem with m... |
Feb 25, 2017 at 6:44pm
[2 replies] Last: Thank you! (by closed account z1qMSL3A)
|
by kingkush
How to determine Lowest Card by Suit and Number?
|
I'm writing a game and im trying to determine who has the lowest card. I have written a function which determines every players (2-4) lowest card. Now I'm writ... |
Feb 25, 2017 at 6:39pm
[3 replies] Last: I didnt overload the operator. I was just working with int so i just u... (by kingkush)
|
Multiple definition of class. |
I have a error named "Multiple definition of class" and i really don't understand where is problem. It says error is here: #include <iostream> #include <wind... |
Feb 25, 2017 at 6:22pm
[6 replies] Last: Your Welcome. Andy (by Handy Andy)
|