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.7K People Reached
Favorite Tags

16 Posted Topics

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
162
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
103
Member Avatar for shawnisalk

Why don't you just use windows accessibility options. See link below: [url]http://www.computerhope.com/issues/ch000542.htm[/url]

Member Avatar for shawnisalk
0
326
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
178
Member Avatar for DemonGal711
Member Avatar for aar0n

when you are testing for prime numbers you are looking for factors of the number other than 1 and N. if you get up to N/2 without finding any then you consider it a prime. So you only have to modulus check with numbers up to N/2. if you find …

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

the function is strcmp. you are comparing a character and not a string. You only need to go: if( a[4] == '-') because the == operator can compare characters. also in the string: char a[10]="hai-hello" it will return false because the - is at position a[3] not position a[4]. If …

Member Avatar for viji.cs
0
76
Member Avatar for nidhik

yes the program i am working on now starts with: [CODE] #include <stdio.h> #include <string.h> #include <stdlib.h> #include <winsock2.h> #include "myramdomize_windows2010.c" #include "CRC_simple_windows.c" #define WSVERS MAKEWORD(2,0) WSADATA wsadata; [/CODE]

Member Avatar for Dazaa
0
65
Member Avatar for Win Myat

If you make a structure you can store all this data. so what you need is a structure which contains many strings [CODE] struct fulladdress { string propertyname; string addressline1; string addressline2; int postcode; //zip code or depends what you call it. (type) blah; }; [/CODE] when you declare a …

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
144
Member Avatar for King_Alucard

there is quite a few problems trying to get this to compile. did you write the entire program then try to compile it or did you compile bit-by-bit as you added them. Its a lot easier to create a program in parts. maybe create the board first then get the …

Member Avatar for VernonDozier
0
462
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
147
Member Avatar for selectlife

First normal form, Remove repeating Groups. If there are fields here, that will be required to store more than 1 piece of information, they need to be moved to a new table. You may need to go through it a few times until you are satisfied. Because even those repeating …

Member Avatar for liamfriel
0
109
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
321

The End.