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...
[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 ...
[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...
[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...
[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 ...
[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++...
[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...
[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...
[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...
[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...
[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...
[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...
[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...
[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 ...
[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...
[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. ...
[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. ...
[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...
[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...
[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...
[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.