Posts
 
Reputation
Loading chart. Please wait.
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #3K
~3K People Reached
About Me

I'm part of a small support team for computer automated equipment. I have addiction to movies and video games, if you've seen my book shelves you'd come to that conclusion. I've taken two programming courses about 8 years ago, 1 being Turbo Pascal the…

Interests
Programming, Skiing, Robotics, Movies, Video Games
PC Specs
Main PC: Athlon XP 2200 1GB RAM, 2 60GB Maxtors, GeForce 5200 128MB RAM, WinXP Pro BackUp: Athlon XP1800,…
Favorite Tags

15 Posted Topics

Member Avatar for Auto

I'm trying to display the same image several times using javascript. It can range anywhere from 0 to about 50. I'll also have its' location determined by the user click and each image will timeout after a short period of time. I figure i'll have to create a new object …

Member Avatar for Auto
0
102
Member Avatar for aianne

I looked at your program, and it's almost in working condition. I don't know what the norm is out there, but I find it better to avoid mixing some of the older c-style code with c++. For instance, change line 1 to #include<iostream>. Remove the other two. Then change all …

Member Avatar for aianne
-1
165
Member Avatar for enderland

isalpha() and isdigit() cannot handle values outside of the 0-255 range, so whatever garbage data that is appearing after your characters and the null terminator '\0' would have to be in the range from 0 to 255 if they're not it will crash, so you could use a while loop …

Member Avatar for jonsca
0
193
Member Avatar for sikeufoo
Member Avatar for donazri

I think you need to use the #include<string> header to use the stream operators, they have to be overloaded to work with string objects. And I believe the string header will do that.

Member Avatar for LevyDee
0
187
Member Avatar for blind122

Line 11 you made a mistake that can happen, you typed in the wrong member function, it should be. [code]string letter = str.substr(i,1);[/code] Line 25 you do not need to create a variable count_vowels since your function can return this value. Also, that variable has the same name as your …

Member Avatar for blind122
0
128
Member Avatar for Acidburn

OpenGL is of interest to me too, I've found some helpful tutorials, info, docs at this site. I'll be taking a course soon on OpenGL so I kind of backed off of it until then. Here's the site to check out [URL=http://www.opengl.org/]http://www.opengl.org/[/URL]

Member Avatar for wally_lawless
0
174
Member Avatar for Auto

Hello and thanks in advance to your suggestions, I have taken a few courses on programming, Turbo Pascal and intro to C, about 8 years ago and I'm sure much has changed. So my goal is to get back into programming and learn what a solo programmer can accomplish. The …

Member Avatar for Kraken
0
563
Member Avatar for Auto

Can the [I]main() [/I] call be embedded within a class? At work yesterday I caught a snippet somewhere, and I noticed [I]main()[/I] was inside a class, something like the following: [code] [B]class[/B] personnel { [B]void[/B] in_prev_data(); [B]void[/B] in_new_data(); [B]int[/B] main( [B]int[/B] argc, [B]const char[/B] **argv ); [B]void[/B] process_data(); [B]void[/B] pack_data(); …

Member Avatar for Auto
0
149
Member Avatar for k0ld

First off your s[i].quiz1 is the way to go, but your function can not see it unless you either pass it via function argument or make it external. Here's how I got your program to work. Try making the highlighted changes. [CODE]#include <iostream> #include <cstdlib> using namespace std; class student …

Member Avatar for k0ld
0
191
Member Avatar for Auto

I have a function in one of my programs that picks a random state from a list. It then puts this random state in a structure array. However the name selected from the list does not match the name that winds up in my array structure. The following is not …

Member Avatar for Auto
0
155
Member Avatar for blackdove

I may be wrong on this, but I'll take a crack it. It looks as if you're declaring an [I]int i[/I], assigning it no value which in turn will leave some unknown garbage data. And since your array is probably not too large [I]num_row_cols [/I] will probably be lower than …

Member Avatar for blackdove
0
132
Member Avatar for Auto

After fixing some pointer problems with my structures, I decided to move the functions performed on them to another .cpp file. Here's the definition in my [B]main.cpp [/B] above the int main() of course [CODE][B]struct[/B] employee { [B]char[/B] name[[COLOR=Navy]20[/COLOR]]; [B]int[/B] schedule; [B]int[/B] level; }; [B]struct[/B] employee salesdept[[COLOR=Navy]10[/COLOR]];[/CODE] then in my …

Member Avatar for Auto
0
242
Member Avatar for Auto

I have a program that calls a function to generate an array of structures( data_set ). The structures consist of a char[20] and 2 int data types. Now what I'm trying to do is randomly pick from an enumerated data type and here is the code I have with a …

Member Avatar for Auto
0
154
Member Avatar for tommy1988

I too am just getting started in C++, I've found the Dev-C++ to be a good free compiler. I just started using it and I've been given support on any issues I had thus far. I was surprised at what they offered for a free compiler.

Member Avatar for Raven11
1
117