Beginners - April 2016 (Page 23)

by bumber
Help with random
 
Write your question here. Hi I'm getting error messages with my implementation of the random generator. The error message is written in comments beside the r...
[4 replies] Last: Got it. Thanks! (by bumber)
Graphics
 
Hi, Is there any graphic library in C/C++ ? I want to work on graphics in DevC++
[6 replies] Last: If it is not in standard library then Can I include it by other sourc... (by BillyBob)
Login system with multiple users
 
My program will check the username and password of one user, but once I create a new account, it will only accept login information of the very first user. I th...
[10 replies] Last: Sorry for the late response. If the file looks like this: bob 123 to... (by xismn)
Sort Help
 
I have to implement different types of sorts and I'm getting some crazy errors about them being illegal and something about the file ending before the left of b...
[2 replies] Last: Wow I can't believe I missed that lol do you have any advice on implem... (by ArtisticMess)
Erase letters via substring..?
 
Hi, Like many who post here, I am new and quite crappy with c++. I have to perform a ratio for my homework. Essentially, if someone plugs in "4 shoes" and "8...
[1 reply] : > if someone plugs in "4 shoes" and "8 Laces," > my final ratio/outpu... (by JLBorges)
HELP i need this program for a class
 
this is meant to be a program with 4 functions msin, getPatientType and two patientCharges. its an overloaded function thing. anyway my professor wont explain w...
[2 replies] Last: After looking in more detail I found quite a few errors that it seems ... (by edge6768)
by XJ9
Trouble with functions (calling and previews)
 
I'm new to functions and having a lot of trouble. When I run the program I get the error " 'golf': must return a value" but it doesn't prompt the user for any i...
[2 replies] Last: Thanks! I figured out I needed to change it to void instead of int? (by XJ9)
How to put different objects into vector?
 
For my upcoming project in my computer science class, we have to make a star wars quiz game. Here is the project description: The file star_wars.txt contains...
[no replies]
Opening files and reading from them
 
File size is always zero, even though I know that there is info in it. // Homework 4.cpp : Defines the entry point for the console application. // #in...
[3 replies] Last: Okay, so I made the changes to the code to use a relative path, and it... (by aidenkael)
Hash Pyramid with asterisk c++
 
How to make this shape in c++ using for loop? #####*##### ####*#*#### ###*###*### ##*#####*## #*#######*# *#########* Thanks
[3 replies] Last: In pseudo-code for each line for each column in line if somethi... (by keskiverto)
Help with polynomial program
 
Write your question here. I am trying to write a program that evaluates, add, subtract, multiply, and differentiate polynomials. I was able to do add and subtr...
[no replies]
The C++ Programming Language (the book)
 
Just wondering: is it possible for anyone that may have read the book (Stroustrup) if it could be used as a self-study book? There are numerous reasons I ask...
[2 replies] Last: I would disagree about not using it as a self-study book. I'm self lea... (by etrusks)
What is the point of using linked lists?
 
Google doesn't help and I haven't been able to find any answers on here either. Can someone help at all? The following program should output the closest commo...
[1 reply] : Why use a Linked List? http://www.gamedev.net/topic/293798-why-use-a-... (by closed account E0p9LyTq)
Problems with SDL 2.0
 
Hey guys , i am starting to learn SDL in order to make some 2d games , however , while i was trying to open my first window i am getting this error , (First...
[2 replies] Last: Hey guys , i managed to fix the problem. for some reason i needed to c... (by tarekhojeiri)
by ShaLee
How to increase the size of the console output
 
Hi, I'm a beginner, so please bear with me. I am writing a program for school where I am analyzing all the powerball numbers drawn since 02/03/2010 up until n...
[2 replies] Last: Perfect! That worked! Thank you so much! (by ShaLee)
solving Ackermann’s Function
 
I'm supposed to use Ackermann’s Function recursivly to solve for it but i keep getting the following error: Unhandled exception at 0x009328F9 in Assignment5E....
[1 reply] : = is assignment == tests for equality Change your if statements. (by Ganado)
Permutation problems
 
Hi, I'm new to c++ and I'm not very good with it, but I've been asked to write a function that takes a string as input and returns true if this string is a perm...
[8 replies] Last: > The canned (presumably optimized) solution is at most O(n*n) The st... (by JLBorges)
Expected initializer before 'void'
 
Hey guys im doing a project for my class and im stack on this error for quite a while now. I've been programming with c++ for a week now so there might be more ...
[1 reply] : Line 7: This does not belong here. Delete it. Line 9,10: Forward d... (by AbstractionAnon)
Several build errors, stumped
 
I was required to make most of the functions be under main, and it's giving me countless build issues. I kept trying to search the error codes, but had no luck ...
[2 replies] Last: In addition to what keskiverto mentioned, I see the following proble... (by AbstractionAnon)
by Zola92
From C to Qt
 
I need a help to someone clear things in my head. I started working as a C developer, immediately after that I have been reassigned to start with Qt, but wit...
[1 reply] : Well I think the most important thing to learn are classes and OOP sin... (by Thomas1965)
April 2016 Pages: 1... 2122232425... 43
  Archived months: [mar2016] [may2016]

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