Beginners - November 2015 (Page 51)

by Wicked
How to solve this?
 
Property investment is big business, and if it’s done properly, can quickly become highly profitable. It involves the purchase of a property, typically one th...
[1 reply] : This is not a homework site. We won't do your homework for you. The pu... (by AbstractionAnon)
Array questions
 
Hi! When I deal with some build-in arrays, it is said that they can't be copied or assigned. I have looked through some articles, they said that array names wer...
[5 replies] Last: Got it, thanks. (by duke2015)
Functions
 
Here is the scenerio: Part A. Modifying Lab #6 to use a void function ( i.e. it will not return anything.) First, fix anything you did wrong in Lab#6 to ...
[7 replies] Last: The way to approach this is to look at what you're doing and see how y... (by dhayden)
by Life24
Problem with char
 
Hello, Why i press d or D , the problem doesn't exit? :( #include <iostream> #include <conio.h> using namespace std; void main(void) { int...
[4 replies] Last: If user is allowed to type in non-numbers, then the program should fir... (by Kevin C)
error "void value not ignored as it ought to be "
 
Hello everyone, I faced with this error "void value not ignored as it ought to be ". Could you please help me to fix it? Thanks in advance. #include <iostre...
[1 reply] : The avg function won't do anything because it doesn't return any resul... (by Kevin C)
by kunz
sending email in php
 
i am trying to send a random number to a email this is what i have so far $rand= mt_rand(100000, 999999)// random number generator $email = $_POST['emai...
[no replies]
Comparing strings and recursion
 
Hi guys, This is my first post here, so please correct me if I'm doing anything wrong. I started getting into C++ a lot the past week and have been trying to...
[3 replies] Last: All of the comparisons that do exactly the same thing if true is reall... (by magnum pi)
Need Help still getting errors
 
I get an Error on my main program on line 2 saying stack and deck was not declared. Also code for all three files below with output. I have tried many things b...
[10 replies] Last: Start by giving each of your files (except your main() one, altho it w... (by magnum pi)
by ric717
What am I doing wrong?
 
I am trying to make a nested for loop to convert celsius to fahrenheit but overtime i run the code i lose the previous column. Any advices? Thanks #include...
[16 replies] Last: ric717 Please let me know is this the type of output you needed #inc... (by CoolGuy)
How do I set each element in a boolean array to false?
 
Sorry for this beginner question, It's very late here so my head may not be on so straight right now. Anyways, I have a boolean array of 365 and I need to make ...
[3 replies] Last: Much easier: bool bdays = { false }; An initializer list works wo... (by closed account E0p9LyTq)
by Alex89
Array, DO WHILE INPUT FILE
 
Hello, I am trying to read the following from an input file into the console using a do while loop. The first column is the quiz number, second is earned points...
[12 replies] Last: Thank you! (by Alex89)
by dcoli
NEED HELP! =( (1,2)
 
I am new to programming, I am shocked I got this far with this program. However, i need help because when i run the program, it asks for the users input but it ...
[21 replies] Last: never mind, i saved the file as .cpp and it compiled. the thing is tha... (by dcoli)
Constraints of the ternary/conditional operator and recursion?
 
So I'm trying to replicate a c_str function, specifically strcmp, except for LinkedLists instead of char arrays. Iterating through linked lists using for loops ...
[2 replies] Last: Exactly what I needed, thanks. (by omega4relay)
How to line up cout statement?
 
I know this should be easy but can anyone help me line up these cout statements so they look good on the output scree,Any help would be appreciated. Thanks :) ...
[2 replies] Last: you can try using \t for example: my file << "Matching Numbers \t ... (by drtran83)
Throwing an exception
 
Solved
[4 replies] Last: Thanks (by helloworld135)
by chops
Can not find text file
 
I am reading numbers from a text file. I was under the assumption that the text file needed to be saved in the same location as my cpp. file. Nothing is read fr...
[3 replies] Last: Great. Putting in the full path helped. I can read the numbers. Thank ... (by chops)
Expected Initializer before 'COORD'
 
There is an error and i cannot figure it out the error is in the code can you please provide a fix, that would be great thanks #include <iostream> #include <...
[6 replies] Last: Also, it's good practice to have a default in a switch statement. If... (by Radar)
by haz94
Control update loop/FPS
 
Hey all, I am trying to cap my update loop so it updates the game every 16ms or 60fps. I've got a time class and I am able to start/stop & get the elapsed time...
[8 replies] Last: Ah, maybe I wasn't clear. I will try what you have suggested with the... (by haz94)
Stack and Queue Question
 
Hello everyone, Can anyone help with some advice as to how I can transform this code from Stack to Queue? Can you guys give me any tips that I can use also...
[no replies]
Question about pointers inside classes
 
Solved
[4 replies] Last: Nevermind I fixed it. Thanks guys. (by helloworld135)
November 2015 Pages: 1... 4950515253
  Archived months: [oct2015] [dec2015]

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