General C++ Programming - March 2016 (Page 20)

The errors?
 
Tried running this below..It compiles but I don't understand errors around lines 45-47 #include <...
[2 replies] Last: It doesn't compile. This is not valid code sList. .studentFName sLis... (by Thomas1965)
tution program
 
cant figure out class problem this is what i have so far The University of Guiness charges $3000 p...
[1 reply] : Remember that the comparison operator is == not = Behind an if or else... (by Thomas1965)
OpenGL crashed
 
I am making C++ / OpenGL application and when I run it I get error Exception thrown at 0x0000...
[3 replies] Last: Why don't you show us the code? (by Thomas1965)
Are non real world object classes valid?
 
While it is logical and reasonable to create classes that serve to instantiate interactable objects,...
[9 replies] Last: @ Cubbi IMO There is a better format of the guideline here: https:/... (by TheIdeasMan)
Classes and reading text file
 
Hello, I've been banging my head against this for a bit now. The assignment is to make a Question...
[7 replies] Last: I just wanted to thank you for your help. Once I really started to und... (by anomalous)
Right way to return a local variable
 
Hi guys, I know that this is not good C++ form at all, right?: Mytype func(Mytype my) { Mytype...
[2 replies] Last: Ok, thanks! (by theturk1234)
Fastest Pocount Implementation
 
Hi guys, I was wondering which way was the fastest for counting the bits set in a 64-bit long long...
[5 replies] Last: I see. I'm on Windows and right now I have no intention to port the en... (by theturk1234)
recursion problem
 
I have a simple program using recursion function. #include <iostream> void myFunction(int); using...
[4 replies] Last: Recursion does not always require a stack of function calls and it i... (by cire)
How do I insert the structs?
 
I have to put this into a struct and I'm confused on what to do. This is my code so far... #inclu...
[1 reply] : You seem to have forgotten the instructions OP. Also, code tags. (by Computergeek01)
Please help me in this code
 
Remove the error please . My head is burst #include <iostream> #include<conio.h> #include<strin...
[6 replies] Last: You have been asked multiple times to use code tags. PLEASE DO SO. ht... (by AbstractionAnon)
Binary Search Problem
 
Hello guys I create a code for Binary Tree. This program read values from a file to insert into a tr...
[1 reply] : Ok, On line 15, you do not have legal C++ syntax. Hang on a second wh... (by theturk1234)
How to use the standard fuctions with InfInt?
 
Hello to everybody. When i started programming, i always found an article that suited my needs. In t...
[6 replies] Last: Thanks for the extra answer Peter87! Although i am not sure how to con... (by Poetjockey)
External problem with constructor of a class
 
Hi. I'm trying to build a Linked List that will hold objects of previously defined class; I'm workin...
[1 reply] : This means that you're tying to use a function (or other such) it can'... (by Moschops)
Writing a Phone OS
 
Hello, I have a Motorola Droid 2 Global Android phone that I am no longer using. What I want is a ba...
[3 replies] Last: Basically Android runs in a linux environment. You need root access to... (by coder777)
by JoGooD
Getting sound amplitude of a given input/ouput
 
Hello, According to this thread: http://stackoverflow.com/questions/2445756/how-can-i-calculate-...
[4 replies] Last: Yeah, pretty sure that's done through stereomix. (by xismn)
How can I write and read binary data...
 
Hello, I would like to ask you if you can help me with the following coding. The first thing is t...
[4 replies] Last: Pardon me. That's what I meant. (by theturk1234)
by josex
C++ Function
 
Can Someone help me. I am not a computer major, but need only one semester of c++ as a chem science...
[1 reply] : Are you asking us to do your assignment for you? I can't do that for y... (by theturk1234)
Pulling individual numbers from an input
 
I'm having a problem with my program. When I input 1234, I get the correct display: 1 2 3 4 and the ...
[6 replies] Last: There is an entirely approach, which should be able to handle much lar... (by keskiverto)
Issues with Discriminant program
 
I'm having issues with the code below: #include<iostream> #include<fstream> #include<cmath> ...
[5 replies] Last: Provide your updated code. Note that your specifications gave you exp... (by cire)
March 2016 Pages: 1... 181920212223
  Archived months: [feb2016] [apr2016]

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