Beginners - November 2011 (Page 39)

by leoxyz
I need help with this problem
Okay so I have a problem with one of my homework assignments. The problem is as follows Write a program that calculates the total grade for N classroom exercis...
Nov 14, 2011 at 3:21am
[9 replies] Last: Good...glad you got it working. (by mzimmers)
vector as class member
Is it allowed to have a vector of undefined size as a private member of a class? Can the vector be resized once an instance of that class has been created? How ...
Nov 14, 2011 at 3:14am
[1 reply] : Is it allowed to have a vector of undefined size as a private member ... (by Athar)
I'm New at this
Hello fellow coders. I am a 12 year old computer enthusiast (or geek as people tend to call it) and would like to take up learning this language. Right now I am...
Nov 14, 2011 at 3:03am
[2 replies] Last: Best way to learn code is to make code. Check out this article: http:... (by Matt Cromer)
by MH4
detect zero in array and print it out
Hi guys! I'm having problem with my code as it does not print out the correct number of zeroes. Stuck with this for like 2 days! :( I have to use a recursive fu...
Nov 14, 2011 at 2:23am
[4 replies] Last: oh..i get it now! Thank you so much for your help! :D Much appreciated... (by MH4)
Pointer Size
There is some subtle point I didn't understand. Pet *p; p = new Dog; Known that Dog is derived from pet... But p is a pointer that point to a pet ...
Nov 14, 2011 at 2:07am
[4 replies] Last: pet *p has the bytes needed for pet,but since pet < dog so p = new do... (by Athar)
need help with dynamic programming
#include <iostream> #include <math.h> using namespace std; int main() { unsigned int n=0,k,i,x,f=0; cin>>k; while(f!=k) { n++...
Nov 14, 2011 at 2:00am
[2 replies] Last: Change your algorithm. ¿what is that supposed to do? (by ne555)
by tox1ns
c++ help sorting user input?
Whats the c++ code for this question ? Part II You have several pictures of different sizes that you would like to frame. A local picture-framing store offers...
Nov 14, 2011 at 1:45am
[no replies]
by bend
array/pointer
hello, doing an assignment for school and have the program written but it doesn't seem to do what it's supposed to. so far i have... #include <stdio.h> #in...
Nov 14, 2011 at 1:44am
[no replies]
trying to use for loop to check if numeric or not
I am currently working on a project where the user is to enter how many employees, the employee ID number, name, wage per hour, and hours worked. Currently have...
Nov 14, 2011 at 12:56am
[3 replies] Last: Thank you both andywestken and binarybob350, that helped immensely. Yo... (by SpectresShadow)
Using STL sort with a custom container
I have a homework assignment where I'm supposed to use the STL sort algorithm, but I'm not allowed to use any STL containers. I can easily make my own container...
Nov 13, 2011 at 11:36pm
[1 reply] : http://cplusplus.com/reference/algorithm/sort/ Looking at there, you ... (by firedraco)
unhandled exception - access violation reading location
i'm getting this error when i run my program: Unhandled exception at 0x003f186f in Lab 8.exe: 0xC0000005: Access violation reading location 0x00000008. he...
Nov 13, 2011 at 9:09pm
[no replies]
need help with binary search
i need to search through a file using 3 different binary searches and i need to use a compraision count on each search to count how many times it take to find t...
Nov 13, 2011 at 8:43pm
[1 reply] : anyone? (by beginner123)
Unhandled Exception: Access Violation
Hello, and thank you to anyone willing to help. I am a bit frustrated since I am trying to get my error handling working and I keep running into this unhandl...
Nov 13, 2011 at 8:15pm
[2 replies] Last: doh! I have been messing with this for 2 days now and I am apparently ... (by Warmaster)
while loop and arrays
Im very stuck with my program, and I think its just syntax. I have a char array that is null terminated but I don't know the size of. im trying to run through ...
Nov 13, 2011 at 7:52pm
[1 reply] : int i=0; // counter while (Array[i++]) { Number = Array ; ... (by binarybob350)
by CJEP8
Dark GDK Practice Peg in Square Hole
This program is supposed to ask the user to find the X and Y coordinates of the square that appears on screen, then draws a circle where the user inserts the co...
Nov 13, 2011 at 7:40pm
[2 replies] Last: Nevermind I finally figured it out....... (by CJEP8)
Not sure what I'm doing wrong...
Well, I'm making that hello world program and I'm trying to compile it but whenever I do the command prompt says "access denied". I use digital mars compiler. ...
Nov 13, 2011 at 6:29pm
[5 replies] Last: Now I'm using visual c++ (it's a good one) and it still doesn't work. (by trexmix)
Can't open a project in Visual C++ 2010 Express
Hello all. I have just installed Microsoft Visual C++ 2010 Express on my desktop last night and began a project. This morning I can no longer open the project. ...
Nov 13, 2011 at 6:07pm
[1 reply] : I figured it out. For anyone getting an error like this, be sure to no... (by Maese909)
Array and pointer
can someone explain what is happening in the memory when i declare this. char *name ; i saw this kind of code few times ago but i don't remember how...
Nov 13, 2011 at 5:51pm
[4 replies] Last: Thanks for help. (by time to c)
Help with strings (should be a quick fix)
I'm working on a project right now that will solve various simple physics problems for me. It should be pretty easy to see the way I set it up. Don't worry abou...
Nov 13, 2011 at 5:40pm
[6 replies] Last: Wow, thanks andy. That was an awesome answer. I really appreciate it! (by Matt Cromer)
by MrFish
[SOLVED] Including exes from same folder?
SOLVED Hello I am a cpp beginner. I've been writing in java and mostly php for my work so I know a good deal about programming languages in general but I'm...
Nov 13, 2011 at 5:25pm
[4 replies] Last: Awesome. That works too. Thanks! (by MrFish)
November 2011 Pages: 1... 3738394041... 65
  Archived months: [oct2011] [dec2011]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.