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
Ranked #4K
~16.3K People Reached
Favorite Tags
Member Avatar for Dazaa

Hi, I have a lot of checkboxes, for a bunch of illnesses. e.g. Cancer, Epilepsy, AIDS Hepatitus etc. I have put checkboxes in to display a field if one of them is ticked, and the Medical user can make notes on the particular case. But.. I cant hide it again …

Member Avatar for catherine sea
0
159
Member Avatar for Dazaa

I am writing another header file. And I am still trying to get my head around these templates. They seem extremely easy to understand but I have had the compiler moaning at me for the last 2 hours. This is what i have: [CODE] #include <iostream> #include <cassert> using namespace …

Member Avatar for Fbody
0
6K
Member Avatar for Dazaa

I am sure there is nothing wrong with this... I am racking my brain as to why it wont compile. [CODE] #include <iostream> #include <string> using namespace std; class Vehicle { public: Vehicle(); Vehicle(string m, int y); void print() const; protected: string model; int year; }; void Vehicle::print() const { …

Member Avatar for group256
0
101
Member Avatar for shawnisalk

Hi, I'm trying to write a program for Windows that will control the mouse with the keyboard, but I'm not sure I understand how Windows works. My theory is that I will need to send mouse event messages for the mouse and hook the messages from the keys that are …

Member Avatar for shawnisalk
0
318
Member Avatar for Dazaa

Hi, I usually use C++, but I am working with some very old code and need to do it in C. So i understand malloc is used char *p; p = malloc(200); where 200 is the amount of bytes I need. and yes i know I need to use free. …

Member Avatar for sree_ec
0
171
Member Avatar for DemonGal711

I have a program that reads in a file and extracts the front of a tag and the end and puts them on their own line, but for some reason it's missing some tags. If this is my file: <tag>something</tag><tag>something2</tag><tag>something3</tag><tag>something4</tag><tag>something5</tag> It would output should look like this: <tag>something</tag> <tag>something2</tag> <tag>something3</tag> …

Member Avatar for Fbody
0
110
Member Avatar for aar0n

hi, i've been working on this problem for way too long and i can't find the answer. here's my code: [code=c] #include <cstdlib> #include <iostream> using namespace std; int main(int argc, char *argv[]) { int N; int M; int i; cout << "Input a positive integer: "; cin >> N; …

Member Avatar for Dazaa
0
195
Member Avatar for viji.cs

Hai everyone, I have one doubt... Can u please clarify this... If i put char a[10]="hai-hello" [I][CODE]if(strcmp(a[4],'-')==0)[/CODE][/I] then it will displays an error [B][I]strcmp' : cannot convert parameter 1 from 'char' to 'const char *'[/I][/B] Wat is the reason for this? Can anybody tell me

Member Avatar for viji.cs
0
73
Member Avatar for nidhik
Member Avatar for Dazaa
0
63
Member Avatar for Win Myat

I have a promblem with following case : i have a properties.txt that included: 10 Napier St. Palm Cove 350000 47 Darkien Cl. Smithfield Heights 265000 i want to write: On start-up, the program is to prompt the user for the property listings filename (the sample file provided is called …

Member Avatar for Dazaa
0
7K
Member Avatar for Dazaa

Hi, I want to fill an array with enum Values but using integers in a loop. My set method accepts Enum types and not integers. But when I work with the enums I can use 0,1,2,3 etc. I am trying to fill a deck of cards using some loops. Is …

Member Avatar for Dazaa
0
1K
Member Avatar for Dazaa

Hi, I want to know if I can use the structure pointer -> to access a structure that is in an array. currently I am using this: [CODE] while (inFile.good()){ inFile.getline(cstring,80); [B] (*points[size]).x = strtod(cstring,&pEnd); (*points[size]).y = strtod(pEnd, NULL);[/B] size++; } [/CODE] points is a pointer to an array of …

Member Avatar for mike_2000_17
0
133
Member Avatar for King_Alucard

I have this code and I am having trouble figuring how to make it run without any errors, can anybody give me some pointers on how to fix it [CODE]#include <iostream> #include <string> #include <iomanip> using namespace std; class TicTacToe { private: char theBoard [3][3]; public: TicTacToe(void); void playOneGame(void); void …

Member Avatar for VernonDozier
0
458
Member Avatar for Dazaa

Hi, I am writing a reverse function, to reverse a string, but when I am compiling I am getting an error, and I know its from the malloc line of code. This is the first time i have used malloc, but I want the function to work for any length …

Member Avatar for Dave Sinkula
0
143
Member Avatar for selectlife

I have been given a task to normalise a set of attributes, I have started with 0 normal form (the attributes) and have attempted to normalise them. Quite frankly im useless when it comes to normalising and I was hoping someone could have a look at my attempt and explain …

Member Avatar for liamfriel
0
95
Member Avatar for Dazaa

Hi, I have 2 machines on my network and a router. my router is 192.168.1.1 and my machines are: darkstar 192.168.1.15 (Ubuntu) dazlaptop 192.168.1.16 (WXP) These two machines share files and work, and when i am in windows XP i can go to the folder directory \\darkstar\ and it opens. …

Member Avatar for sknake
0
319