- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Game Programming Major with Champlain College
- Interests
- Gaming and Anime
- PC Specs
- 2.2GHZ Core 2 Duo, 3GB Ram, Radeon HD 2600
10 Posted Topics
Ok this sounds ridiculously easy, yet I am having a hard time figuring this out. :$ I want to create a grid (rows and columns) of rectangles that can be adjusted in size. The row size and column size of the grid must be also be adjustable. I can only … | |
I am having a difficult time with a BitStream class. I need to overload the extraction and insertion operator for the classes, but I am at a loss. Here is what I have so far. Any guidance is appreciated. [CODE] #ifndef BITSTREAM_H_ #define BITSTREAM_H_ #include <iostream> #include <fstream> #include <vector> … | |
Hi, I am loading in a dictionary text file of English words, but I am not supposed to load any words if they contain an apostrophe. I am loading them in as strings, and I cannot figure out how not to load the string if it contains an apostrophe. Here … | |
I am desperately need help converting my code into an OOP format. [B][I]Here is my code:[/I][/B] [CODE] #include <iostream> #include <string> #include <cstring> using namespace std; const int strLength = 141; char strArray[strLength]; char answer; bool quit; int charAmount; string line; void vowelCount(string); void consonantCount(string); void consonantCount(string line) { int … | |
Can someone help me please, I am getting this error: [B]stringdefinition.cpp(7) : error C2448: 'stringClass::wordCount' : function-style initializer appears to be a function definition[/B] When trying to compile this code: [B][U]StringHeader.h[/U][/B] [CODE] #ifndef H_StringHeader #define H_StringHeader #include <iostream> #include <string> #include <cstring> #include <algorithm> using namespace std; const int strLength … | |
I have having a bit of trouble with this assignment I have to do. The assignment is: [B]"Assuming that a year has 365 days, write a class named DayOfYear that takes an integer representing a day of the year and translates it to string consisting of the month followed by … | |
Hi Everyone! My name is Justin, and I am a Sophomore at Champlain College in Burlington Vermont. I am majoring in Game programming, and I am having quite a hard time with C++ Programming. I have made a few basic programs, but when it comes to the homework exercises in … | |
I was given some code by my Professor and I had to debug it. I finally found the problem, but I have no idea why it is a problem. Could someone please enlighten me. [B][U]Here is the piece of the code that has been corrected:[/U][/B] [code] . . . //Using … | |
Can someone please help me with this error I am getting when compiling: [B]DivSales.obj : error LNK2001: unresolved external symbol "private: static int DivSales::totalSales" (?totalSales@DivSales@@0HA) 1>MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup 1>C:\...\Week 3 - Challenge 7\Debug\Week 3 - Challenge 7.exe : fatal error LNK1120: … | |
I am having an extremely difficult time with this programming challenge I have to do. I have no idea where to begin on this. I am a beginning programmer ([i]obvious I know[/i]), and here are my instructions for the challenge: [b] "Write a class EncryptableString that is derived from the … |
The End.