Search Results

Showing results 1 to 18 of 18
Search took 0.01 seconds.
Search: Posts Made By: TheBeast32 ; Forum: C and child forums
Forum: C Jul 21st, 2009
Replies: 3
Views: 365
Posted By TheBeast32
Thanks. I had to do data = realloc(data, ++datalen * sizeof(char)). I forgot the "data = ". I just looked it up in my little c reference book.

void* realloc(void* p, size_t size);
Returns...
Forum: C Jul 21st, 2009
Replies: 3
Views: 365
Posted By TheBeast32
Hi, I'm making a little program that will send email. I am fine with the sockets, but I keep getting a segmentation fault and I don't know why:$. I'm trying to make a loop that will let the user...
Forum: C Jul 19th, 2009
Replies: 2
Views: 972
Posted By TheBeast32
I figured it out after about a bit of searching. For anyone having this same problem: apparently, Cygwin can't use IPv6 by default. I went to http://win6.jp/Cygwin/ and downloaded the files I needed...
Forum: C Jul 19th, 2009
Replies: 2
Views: 972
Posted By TheBeast32
Hi, I installed cygwin recently and wanted to do some network programming with it. Since I have never used unix sockets before, I'm reading Beej's Guide To Network Programming. I took this from...
Forum: C Apr 29th, 2009
Replies: 1
Views: 292
Posted By TheBeast32
Hi, I'm using GNU MP to get very precise square roots of numbers. I have three questions about my code below.


#include <stdio.h>
#include <stdlib.h>
#include <gmp.h>

int main(int argc,...
Forum: C Apr 19th, 2009
Replies: 9
Views: 1,213
Posted By TheBeast32
Hi, how would I get the temperature and percentage of load for my CPU, GPU, and other things like the hard drive? I'm on Windows XP. Is there something in the Win32 API or what?
Forum: C Feb 15th, 2009
Replies: 2
Views: 801
Posted By TheBeast32
Hi, I'm trying to use LogonUser. I think I'm doing everything right, but I keep getting this error: 1326 (ERROR_LOGON_FAILURE). I know my user and pass are right.


#include <stdlib.h>
#include...
Forum: C Feb 14th, 2009
Replies: 6
Views: 1,546
Posted By TheBeast32
Forum: C Feb 14th, 2009
Replies: 3
Views: 496
Posted By TheBeast32
System() pauses your program doesn't it? I need something that will just execute a program but not wait for it to end to keep going about its business.
Forum: C Feb 13th, 2009
Replies: 3
Views: 496
Posted By TheBeast32
Hi, I was wondering if there was an alternative to the ShellExecute function of the Windows API; one that is universal on every OS. Is there one?
Forum: C Feb 13th, 2009
Replies: 4
Views: 1,563
Posted By TheBeast32
I switched from Dev-C++ to Code::Blocks recently. The interface is awesome. I'm using the MinGW compiler, so there's no difference in compile time (they are using the same compiler). The only thing...
Forum: C Feb 13th, 2009
Replies: 6
Views: 1,546
Posted By TheBeast32
Bubble sorts are very easy to make. Just Google "bubble sort algorithm".
Forum: C Feb 11th, 2009
Replies: 4
Views: 1,421
Posted By TheBeast32
This is a very complex sort. There's pseudocode on Wikipedia http://en.wikipedia.org/wiki/Heap_sort.
Forum: C Jan 25th, 2009
Replies: 1
Views: 322
Posted By TheBeast32
Hi, how would I make a simple kernel in C that I could boot on my PC?
Forum: C Oct 12th, 2008
Replies: 7
Solved: Weird error
Views: 487
Posted By TheBeast32
Thanks! That works perfectly! :)
Forum: C Oct 12th, 2008
Replies: 7
Solved: Weird error
Views: 487
Posted By TheBeast32
In Dev-C++ 4.9.9.2:
`bool' undeclared (first use in this function)

(Each undeclared identifier is reported only once for each function it appears in.)
Forum: C Oct 12th, 2008
Replies: 7
Solved: Weird error
Views: 487
Posted By TheBeast32
Hi, I keep getting an undefined identifier error when I try to do this:


typedef char bool; // Make a bool type
char false = 0, true = 1; // Make true and false

void foo()
{
switch...
Forum: C Aug 5th, 2008
Replies: 7
Views: 1,240
Posted By TheBeast32
No, just copy the url to view the picture! you don't have to register! =)
Showing results 1 to 18 of 18

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC