Beginners - August 2011 (Page 27)

problem using classes
 
hello, im having trouble setting and initializing data to an array oject. the point of the program is to have the dmv class display data if the id is right, t...
[1 reply] : Did not check the whole thing, but you are acquiring pointers of DMV o... (by webJose)
srand
 
I am completely overwhelmed. I have watched youtube videos, sought out examples... No matter what number I enter the turtle always wins with a score of 101. I...
[7 replies] Last: Ok. It is agreed the last question was stupid. Thank you so much. I... (by rheeler)
by Hucaru
Creating an X and O game (Console)
 
Hi I am very new to C++ and programming in general. I decided after reading that it would be best to write my own code as thats the best way of re-inforcing wha...
[4 replies] Last: For your AI question, there are many ways to do it, with varying diffi... (by BlackSheep)
by wtf
troubleshooting my code. nth digit of integer.
 
library is about to close and don't have time right now. its really stumping me however as I went over and over this code in my mind as I actually wrote it o...
[2 replies] Last: You don't understand. I need to get the nth digit of the number n whe... (by wtf)
How to designate a specific output for a specific input
 
Ok look. I am new to C++ but am very interested in it. I want to make a program that says something specific for what you entered. What I mean is, if someone en...
[1 reply] : if else structures would be a good choice to do that. (by Maese909)
Hash search/function/hash tables
 
Can anyone provide me with good literature on this? Ive looked on wiki and others but Im not really sure what this is used for? Where did you all look when tryi...
[1 reply] : This one seems pretty good! http://www.cs.bu.edu/teaching/cs113/sprin... (by Sputnik)
by Nelli
Min, Max, Avg in an array
 
Hello again all seems I have been asking alot and I apologize but here is my situation and code I need to get the min, max and average an array. problem o...
[no replies]
A quick quesion regarding functions
 
Hi there, I heard from most teachers that in a same expression containing multiple functions calls there is no definite way to tell which function is called ...
[9 replies] Last: dsfsf (by nobita208)
help! cant find whats missing on this missing function header (old-style formal list?)
 
//energy charges #include <iostream.h> int main(); { float kwh, cost; cout<<"enter meter reading:"; cin>>kwr; if (kwh<500) cost=10; else ...
[1 reply] : It's <iostream>, not <iostream.h> What is that semi-colon doing at ... (by Moschops)
by hwuy
cross text
 
hello i am tring to make something that takes a string (name of person) and crosses them like this b b o b b this would cross the letter bob and...
[4 replies] Last: Anyone that can answer what TC is? thanks http://myanginasymptoms.com... (by nanwe1st)
Copy C`tor and operator=()
 
Hi, i need some help with Copy C`tor and operator=() implementation, i don`t know how to implement operator=() with copy ctor when i have array of Customers*. ...
[4 replies] Last: thank you a lot :) (by aymanbah)
Reading a web page content
 
Hi guys,, I want to make a c++ program to read a content of a web page .. whether it is php, asp, html ...I want the program works like when u click on view so...
[1 reply] : http://curl.haxx.se/libcurl/ (by helios)
why this code not respond
 
im wondering why this code does not work. #include <cstdlib> #include <iostream> #include <vector> using namespace std; class bigNum { public: ...
[10 replies] Last: Ne555, I forgot to include <string> :) Wazzak ... (by closed account zb0S216C)
Almost there
 
#include <stdio.h> int fact(int x);// Declaring function int num; printf("Please Enter a number"); scanf("%d",&num); if(num<0){ printf(" No negative numbe...
[2 replies] Last: Thanks :) (by Frozendog11)
by wtf
Volume Label of Drive
 
Does anyone know where or how I can get the Volume or Drive label of a cdrom using c++? I googled, but only found code for java.
[8 replies] Last: '"Volume Label of Drive" C++' (C++ outside "") Seemed to have one resu... (by GisleAune)
create a password
 
how can we create a password and change the password? thank you!!
[2 replies] Last: Try this if you get any bugs tell me #include <iostream> #include <... (by TheMassiveChipmunk)
Codeblocks win 7 64bit installation
 
Before this I never encounter this problem.. after I get my new comp which is win 7 64bit, I did download the codeblocks setup with MingW (I don't know what is ...
[7 replies] Last: Did you solve the problem? If you did please post the solution, others... (by eidge)
using cout inside a while loop
 
#include <cstdlib> #include <iostream> using namespace std; int main(int argc, char *argv ) { int first, second; while (cin >> first >> sec...
[2 replies] Last: Framework (994) Aug 8, 2011 at 7:29pm You need to remove the semi-... (by orejano)
Passing a multidimensional array to a function
 
Hi All - I have an array of data, x,y,z coordinates for natoms as a function of time. The data is in mydata where the last index 0,1,2 is x,y,z respectively...
[6 replies] Last: Seeing your code, it does look like a class based approach would make ... (by andywestken)
Runtime error: Unhandled exception at
 
#include <iostream> #include "Queue.h" #include "Customer.h" using namespace std; int main() { Queue q1; for (int i = 0; i < 13; i++) { Cust...
[8 replies] Last: You always have to initialize arrays before accessing them. (by aaronfjerstad)
August 2011 Pages: 1... 2526272829... 39
  Archived months: [jul2011] [sep2011]

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