I am looking for a way to automatically analyse a large quantity of message board posts along with each posts' username. The idea would be to match up the writing styles of each username to identify...
Type: Posts; User: chris1985
I am looking for a way to automatically analyse a large quantity of message board posts along with each posts' username. The idea would be to match up the writing styles of each username to identify...
Hello,
I am trying to work out the correct way to print out a list of child windows (and child of child windows etc). So far I have done a few tests on the Windows Notepad program by using:
...
I have a program which I am trying to use to detect if there is a temporary disconnect from the internet. If there is then once the connection is detected a function called recovery() is called to...
Below is the first bit of a linked list program that I am trying to learn about. Can someone please tell me why the 4 lines in bold are required? I am confused as they seem to be just the name of...
I have a program that is supposed to add a '\n' to move down to the next line. However when I open the file that this is output to I see a square box where the new line should be. Why is this? And is...
ok i have fixed it. For some reason the compiler didnt like the brackets being empty, so I have added VOID to the brackets. This seems strange as my int main function works fine without this. Anyway...
I am getting the error message on line 170 "Missing prototype for 'getquote'".
Yet line 170 is the start of my function!
float getquote() {
The whole program is rather long so I wont...
I have been trying out some things with the SendMessage function which is supposed to send keystrokes to a certain window.
SendMessage(hwndMineSweeper, WM_LBUTTONDOWN, MK_LBUTTON,...
I have some numbers stored in a character array. Assume length of 3 arrays is:
dec[2];
bin[6];
hex[2];
Now if I have 34 in the dec array i.e. dec[0]=3 and dec[1]=4, how can I convert this...
I have single digit numbers which are integers and wish to combine them so that I have 1 whole integer.
Example:
a = 5
b = 6
so c = 56
Is there a function for doing this?
I have got a lot of errors from the line which has the 3 if statements in it.
C:\WINDOWS\Desktop\code.c(21): error #2168: Operands of == have illegal types 'char' and 'char *'.
...
Below is a bit of code which produces the following text:
TestHello. Here
Testis some text
Testwhich is on the screen.
What I would like to know is how the fgets function ends the string....
I think I am having trouble converting a floating number into a character array. Can someone please help me with fixing the line I have commented. Thankyou. :)
float top;
char price[5];
...
I ran this command in SSH to a linux server:
find . -maxdepth 1 -type d -print | xargs du -sk | sort -rn
It prints out so much that I cant read it because it scrolls off the top of the...
Yes it is a linked list.
The little function that I want to amalgamate into the big one is for joining one list with another list. I have it all working as it is now, but I wish to eliminate that...
If I have a line:
head = insert(head, temp);
and the insert function to which it refers is:
Pnt *insert(Pnt *list, Pnt *element)
{
Ah yes its working now. Thanks Pianorain :D
OK the previous bit was summarised to exclude irrelevant bits. Here's the whole function.
void printWord(WordPtr *list)
{
WordPtr *tmp;
int size = 0;
int total = 0;
//routine to...
I have used:
clock_t start;
start = clock();
in one of my functions.
I then use the same again in a different function, but in the second function I get an error:
Does anyone have a copy of the sys/resource.h file? My compiler dosen't have one :(
I have recently got a laptop which has just the standard 1 port for the sound out signal for the loudspeakers, but my old computer had a 5.1 surround sound system, which requires 3 ports.
Is anyone...
WOW thats some amazing technology. I have seen a similar thing done a few years ago with lasers and holograms at the London Science museum, but I havent ever seen a multi-coloured version like that....
Ah yes, silly me. Thanks, I guess I've been having too many late nights :eek:
This was most unexpected. I have a big program which was behaving strangely so I decided to test out each section. I wrote a small program as shown below:
#include <stdio.h>
int main() {
...
OK ignore this thread, I have found the answer.