Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~2K People Reached
PC Specs
- COOLERMASTER HAF-X FULL TOWER GAMING CASE- Intel® Coreâ„¢i7-2600k Quad Core (3.40GHz, 8MB Cache)…
Favorite Tags
Member Avatar for benclifford

Hi I am having an issue trying to run an sql query from a php script. I have checked the query through phpmyadmin and it runs fine but whenever I run it through php i get an error. The error is "Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean …

Member Avatar for benclifford
0
271
Member Avatar for benclifford

I am trying to use the size of an array to determine how many entrys are in the array as follows sizeof(array)/sizeof(array type) = number of elements in the array. I then wish to use this to add more data to the array as follows array[sizeof(array)/sizeof(array type)] = new Object(object …

Member Avatar for triumphost
0
557
Member Avatar for benclifford

I have done this code 5 times in my program for different classes and variables and it has worked fine for 4 of them but the 5th is giving a segmentation fault. The error occurs just after the cout saying 'here' in the main.cpp code below I have run valgrind …

Member Avatar for benclifford
0
378
Member Avatar for benclifford

Hi, I have a problem when trying to compile a program in C++ on linux using g++. **smurfVillage.h** #ifndef smurfVillage_H #define smurfVillage_H class Creature { private: char gender; int age; char species; public: Creature(); //parameterless default constructor Creature(char,int,char); ~Creature(); char getGender(); int getAge(); char getSpecies(); char setGender(char); int setAge(int); char …

Member Avatar for Lerner
0
357
Member Avatar for benclifford

Hi, I have a task to perform which all to do with the smurfs, reading from a file and doing some simple stuff to it. The last part I need to do is print out a list of all smurfs and their corresponding role in alphabetical order. I am hoping …

0
225