Forum: C
Jun 28th, 2007, 12:48 AM
|
|
Replies: 12
Views: 352
Dameon was right in his first post. When doing...
Dameon was right in his first post. When doing like you did, you're "giving" the pointer an address, and when you later tries to use the pointer, you of course are getting an error.
If we have a...
|
Forum: Community Announcements and Feedback
May 13th, 2007, 9:46 AM
|
|
Replies: 46
Views: 1,319
|
Forum: C++
Mar 6th, 2007, 9:50 AM
|
|
Replies: 14
Views: 335
I'm not so good at english, so maybe I've...
I'm not so good at english, so maybe I've understood something wrong.
What I meant, was that I actually forgot to catch bad_alloc. I was only catching some objects I'd made by myself, and no other,...
|
Forum: C++
Mar 6th, 2007, 9:30 AM
|
|
Replies: 14
Views: 335
@grumpy:
It's my first experience with bigger...
@grumpy:
It's my first experience with bigger projects, and I think I've started badly with this project, right from the start. That's why I'll start from the scratch again, and then try to make it...
|
Forum: C++
Mar 6th, 2007, 6:50 AM
|
|
Replies: 14
Views: 335
I'm now working backward, which is a pretty...
I'm now working backward, which is a pretty stupid thing.
I've still not found the bug, but it wasn't in the destructor. Now I'm getting errors with one of my other classes, Web.
There's an error,...
|
Forum: Community Introductions
Mar 5th, 2007, 8:28 AM
|
|
Replies: 12
Views: 241
|
Forum: C++
Mar 5th, 2007, 8:12 AM
|
|
Replies: 14
Views: 335
Damn. I can't find the error at all.
I tried to...
Damn. I can't find the error at all.
I tried to set a messagebox into the destructor to see what happening, and to my big suprise, the ListViewHandle's destructor is being called twice. I thought it...
|
Forum: C++
Mar 4th, 2007, 8:25 AM
|
|
Replies: 14
Views: 335
The application did work just fine, but when I...
The application did work just fine, but when I tried to implement something I'd forgot earlier, the application crashed. It's probably in the new code the error is, but I don't have the time to look...
|
Forum: C++
Mar 4th, 2007, 4:18 AM
|
|
Replies: 14
Views: 335
|
Forum: C++
Mar 4th, 2007, 2:44 AM
|
|
Replies: 14
Views: 335
Memory problems
Hi everybody,
i'm currently working on a little project of mine. But I get a strange error, and it have probably something to do with the memory. I'm don't know much about debugging, so I've hard to...
|
Forum: Community Introductions
Feb 4th, 2007, 3:01 AM
|
|
Replies: 4
Views: 127
|
Forum: C++
Feb 3rd, 2007, 12:22 PM
|
|
Replies: 5
Views: 181
|
Forum: C++
Feb 3rd, 2007, 10:25 AM
|
|
Replies: 5
Views: 181
|
Forum: C++
Feb 3rd, 2007, 5:02 AM
|
|
Replies: 5
Views: 181
std::string is not empty?
Is the std::string empty - or not?
If we check a string like this
std::string myStr;
if(myStr.empty())
std::cout << "The string is empty" << std::endl;
else
std::cout << "The string is not...
|
Forum: C++
Jan 31st, 2007, 12:27 AM
|
|
Replies: 4
Views: 175
You've to use the parameter, -Wl, to direct the...
You've to use the parameter, -Wl, to direct the -Wl's arguments to the linker (ld). Then just use the simple -Map and then a filename for the mapfile.
gcc test.c -o test -Wl,-Map,testMap.map
I hope...
|
Forum: C++
Nov 21st, 2006, 10:32 AM
|
|
Replies: 15
Views: 284
|
Forum: C++
Nov 20th, 2006, 11:06 AM
|
|
Replies: 15
Views: 284
Pertaining to the delay-function:
I would...
Pertaining to the delay-function:
I would implement the "delay"-function in my C++ code like this...
#if __linux__
#include <unistd.h>
#define delay(x) sleep(x)
#elif _WIN32
#include...
|
Forum: Community Introductions
Nov 16th, 2006, 8:43 AM
|
|
Replies: 7
Views: 154
|
Forum: C++
Nov 16th, 2006, 8:42 AM
|
|
Replies: 4
Views: 110
|
Forum: Visual Basic .NET
Nov 16th, 2006, 8:40 AM
|
|
Replies: 29
Views: 595
Just because you're 13, it doesn't mean...
Just because you're 13, it doesn't mean programming isn't fun?
I'm 14, and programming is my biggest interest. I'm using seven to eight hours almost everyday - and I think it's fun.
I know the post...
|
Forum: Coder's Corner Lounge
Nov 9th, 2006, 11:12 AM
|
|
Replies: 37
Views: 711
|
Forum: Community Introductions
Nov 8th, 2006, 9:22 AM
|
|
Replies: 8
Views: 175
|
Forum: C++
Nov 6th, 2006, 12:30 AM
|
|
Replies: 16
Views: 245
|
Forum: C++
Nov 4th, 2006, 12:25 PM
|
|
Replies: 4
Views: 179
In Windows you can change the textcolor and...
In Windows you can change the textcolor and textbackgroundcolor in the console.
#include <windows.h>
// ...
HANDLE MyHandle = GetStdHandle(STD_OUTPUT_HANDLE);
SetColorTextAttribute(MyHandle,...
|
Forum: Community Introductions
Oct 15th, 2006, 1:08 AM
|
|
Replies: 10
Views: 200
|
Forum: Coder's Corner Lounge
Oct 14th, 2006, 1:21 AM
|
|
Replies: 17
Views: 268
I'm using a 20.1" and 1680x1050 in...
I'm using a 20.1" and 1680x1050 in resolution.
It's very nice, you get a great overview, and much workspace.
I brought it for about 2500 DKK ($420 USD)
|
Forum: Community Introductions
Oct 13th, 2006, 4:54 AM
|
|
Replies: 12
Views: 219
|
Forum: Community Introductions
Oct 13th, 2006, 12:30 AM
|
|
Replies: 13
Views: 240
|
Forum: Community Introductions
Oct 12th, 2006, 2:59 PM
|
|
Replies: 13
Views: 232
|
Forum: Coder's Corner Lounge
Oct 12th, 2006, 2:56 PM
|
|
Replies: 8
Views: 172
|
Forum: Community Introductions
Oct 2nd, 2006, 8:33 AM
|
|
Replies: 8
Views: 126
|
Forum: Community Introductions
Oct 1st, 2006, 6:00 AM
|
|
Replies: 14
Views: 262
|
Forum: Community Introductions
Oct 1st, 2006, 1:52 AM
|
|
Replies: 10
Views: 152
|
Forum: Community Introductions
Oct 1st, 2006, 1:50 AM
|
|
Replies: 14
Views: 182
|
Forum: Community Introductions
Sep 30th, 2006, 4:46 AM
|
|
Replies: 8
Views: 164
|
Forum: Community Introductions
Sep 30th, 2006, 1:30 AM
|
|
Replies: 6
Views: 147
|
Forum: C
Sep 29th, 2006, 12:45 AM
|
|
Replies: 9
Views: 229
|
Forum: Coder's Corner Lounge
Sep 28th, 2006, 11:01 AM
|
|
Replies: 52
Views: 914
|
Forum: Coder's Corner Lounge
Sep 25th, 2006, 8:34 AM
|
|
Replies: 10
Views: 247
|
Forum: Community Introductions
Sep 19th, 2006, 7:30 AM
|
|
Replies: 9
Views: 218
|