Showing results 1 to 40 of 500
Search took 0.06 seconds; generated 8 minute(s) ago.
Posts Made By: niek_e
Forum: C++ 1 Hour Ago
Replies: 1
Views: 15
Posted By niek_e
Re: C++ / MFC Date Validation

you could try the parsedate() member of COleDateTime:

if (!COleDateTime::ParseDateTime("12/11/2008")
{
// That's not a date bucko!
}


I don't have MFC anymore, so I can't test it, but I'm sure...
Forum: DaniWeb Community Feedback 5 Hours Ago
Replies: 20
Views: 141
Posted By niek_e
Re: Me being proactive

And where did the code-snippets go?
Forum: DaniWeb Community Feedback 6 Hours Ago
Replies: 20
Views: 141
Posted By niek_e
Re: Me being proactive

Great. Now I have to plow through even more threads a day.. You show no mercy... ;)

Community center sounds a bit futuristic compared to Coffee house. In my imagination it's a big white (oval) room...
Forum: Geeks' Lounge 6 Hours Ago
Replies: 0
Views: 19
Posted By niek_e
Alternative for STFW

This site may come in very handy when dealing with lazy newbies:

http://letmegooglethatforyou.com/

Example:


Click this (http://letmegooglethatforyou.com/?q=search+algorithm)link and see
Forum: DaniWeb Community Feedback 6 Hours Ago
Replies: 20
Views: 141
Posted By niek_e
Re: Me being proactive

Found another bad too:
- where did the software-dev lounge go?

I'm on IE7 now. FF3 tells me that the host is unreachable... Never saw that before...
[edit] nevermind, problem miraculously...
Forum: DaniWeb Community Feedback 6 Hours Ago
Replies: 20
Views: 141
Posted By niek_e
Re: Me being proactive

Yeah, it could very well be a glitch on my side, but I thought I should mention it.
It hangs on : loading simple.thumbshots.com

and found another good:
Enormous searchbox on top of everything. I'm...
Forum: DaniWeb Community Feedback 7 Hours Ago
Replies: 20
Views: 141
Posted By niek_e
Re: Me being proactive

the good:
- The BIG quick reply box

the bad:
- where's the subscription spy??

the ugly:
- see attachment. Rounded edges script failed
- you should look at the site with 1024x768, a lot of thing...
Forum: C 23 Hours Ago
Replies: 5
Views: 83
Posted By niek_e
Re: Dynamically allocating 2d arrays

for c:


/*code goes here */



also explained here (http://www.daniweb.com/forums/announcement8-3.html)
Forum: C 23 Hours Ago
Replies: 7
Views: 120
Posted By niek_e
Re: HELP

download my attachment and store it in c:\
then run this:

int main()
{
system("mspaint c:\\mm.jpg");
return 0;
}
(only works on windows)
Forum: C++ 23 Hours Ago
Replies: 6
Views: 72
Posted By niek_e
Re: Hey all, a little help needed

it isn't "end1" but "endl" (with an "el" not a "one") :)
The endl is short for "endline" and makes the console jump to a new line.
cout << "Hello world.\n"; would have the same effect.

For future...
Forum: C++ 23 Hours Ago
Replies: 3
Views: 56
Posted By niek_e
Re: Discrete solution help!

I'm not sure if I understand the question correctly, but if you want a bunch of numbers which you can choose from, you could use vectors.
Example:

vector<int> diameters;
/* load a few bogus...
Forum: DaniWeb Community Feedback 1 Day Ago
Replies: 3
Views: 71
Posted By niek_e
Re: what a cracking site

You want the green or the red kind? ;)
Forum: C++ 1 Day Ago
Replies: 4
Views: 56
Posted By niek_e
Re: How do I get rid of this C4716: must return a value error I get every time i compile?

When posting code always use code-tags (http://www.daniweb.com/forums/misc-explaincode.html)!

You have two functions that should return a value, but don't:
int CelsiustoFahrenheit() and int...
Forum: C++ 1 Day Ago
Replies: 1
Views: 27
Posted By niek_e
Re: How to insert a combox to a column of list ctrl in MFC?

I'm not sure that that's even possible with the standard MFC-listctrl. Have a look at this (free) extended one (http://www.codeproject.com/KB/list/Extended_List_Control.aspx)
Forum: IT Professionals' Lounge 1 Day Ago
Replies: 3
Views: 65
Posted By niek_e
Re: Looking for a sample Gantt Chart

I searched for "Gantt Chart" not "Gnatt Chart" :)
Forum: IT Professionals' Lounge 2 Days Ago
Replies: 3
Views: 65
Posted By niek_e
Re: Looking for a sample Gantt Chart

3 seconds of google (http://images.google.nl/images?hl=nl&q=Gantt%20Chart&um=1&ie=UTF-8&sa=N&tab=wi)
Forum: C 2 Days Ago
Replies: 3
Views: 67
Posted By niek_e
Re: mixed up

gotoxy() is a function developed by Borland for Turbo C. It was never standard C to begin with, so to get your program back to standards and up to date, try using: SetConsoleCursorPosition()...
Forum: C 2 Days Ago
Replies: 3
Views: 62
Posted By niek_e
Re: Creating a hash table in C

What you're programming is C++, not C. So you should use a C++ compiler like G++.

What OS are you using?
Forum: Game Development 2 Days Ago
Replies: 8
Views: 528
Posted By niek_e
Re: Need help starting

Game programming for dummies doesn't exist. That's like saaying : "being really smart: for stupid people" .
FIRST learn to program in the language of your choice (Python is a nice language to start...
Forum: DaniWeb Community Feedback 2 Days Ago
Replies: 11
Views: 199
Posted By niek_e
Re: Login: remember me

then uncheck it :icon_rolleyes:
Forum: C 2 Days Ago
Replies: 1
Views: 42
Posted By niek_e
Re: sorting numberss using recursion

The art of Sorting (http://www.eternallyconfuzzled.com/tuts/algorithms/jsw_tut_sorting.aspx)
Forum: Computer Science and Software Design 2 Days Ago
Replies: 8
Views: 165
Posted By niek_e
Re: flowchart

You're almost there.

In the attachment is a chart I made. (in paint, I don't have visio :) )

Try to finds the differences between yours and mine and try to find out why I made the choices I did....
Forum: C++ 2 Days Ago
Replies: 4
Views: 70
Posted By niek_e
Re: Question regarding base class and derived class

These are all working solutions, but why not add a a type-field to the base class?

Example:

/* base Creature class*/
class creature
{
public:
std::string what_type;
creature() {what_type =...
Forum: C++ 2 Days Ago
Replies: 2
Views: 71
Posted By niek_e
Re: Problems with Arrays

Aahh.. a double thread. I answered this already here (http://www.daniweb.com/forums/thread158225.html), which kinda makes me look stupid since vmanes already answered it..
Forum: C++ 2 Days Ago
Replies: 3
Views: 75
Posted By niek_e
Re: setting up an array

If you're using chars, then use single quotes instead of double. Double quotes are for strings (more then 1 char).
So it would look like this:

char Letters[26] = {'a','b','c', /*etc etc etc*/ ...
Forum: C++ 2 Days Ago
Replies: 2
Views: 66
Posted By niek_e
Re: Class Inheritance Examples?

google for xxxx tutorial:

polymorphism (http://www.cplusplus.com/doc/tutorial/polymorphism.html)
inheritance (http://www.cplusplus.com/doc/tutorial/inheritance.html)
Forum: C++ 2 Days Ago
Replies: 10
Views: 136
Posted By niek_e
Re: Reading a file. Copying over to other file. Renaming. Renaming = -1?

Are you deleting the previous transactionlog.txt somewhere? Else rename will fail because the file already exists.

You should also avoid using eof().
If you change this:

while(!myfile.eof())
{
...
Forum: C++ 3 Days Ago
Replies: 6
Views: 120
Posted By niek_e
Re: Strings in C++

If transactionInfo is a std::string, you could do something like:

transactionInfo = static_cast<std::string>(date) + " - "+ _strtime( time ) + "New Customer - 1001 - Olly";

As you can see time is...
Forum: Geeks' Lounge 3 Days Ago
Replies: 14
Views: 348
Posted By niek_e
Re: Laid off :(

Completely off-topic, but Dave:
I really think that Sarah won't become Obama's Vice president, so perhaps a change of avatar might be in order ;)
Forum: C 3 Days Ago
Replies: 6
Views: 129
Posted By niek_e
Re: C program

And now try compiling this on something that isn't outdated and non-standard and see if it compiles....

Furthermore, even dribble like this should be placed in code tags...
Forum: C++ 3 Days Ago
Replies: 4
Views: 100
Posted By niek_e
Re: USB handling using API in C++

Normally I wouldn't link to other forums, but you might have a better change at getting an answer here:
Altera dev-kit forum (http://www.alteraforum.com/forum/forumdisplay.php?f=3)
Altera tool/device...
Forum: IT Professionals' Lounge 3 Days Ago
Replies: 2
Views: 68
Posted By niek_e
Re: feasibility study

What should this "system" do? Alarm, make coffee, check students for absence, play Rick Astley?

some steps:
Get a detailed description on what the customer wants
Gather info on what systems are...
Forum: IT Professionals' Lounge 3 Days Ago
Replies: 3
Views: 73
Posted By niek_e
Re: Application for SAP

Yes it is. But my experience with these companies is that they do not like it when 3rd party-software and hardware is connected into their systems. You would need to know how and where the data is...
Forum: IT Professionals' Lounge 3 Days Ago
Replies: 3
Views: 73
Posted By niek_e
Re: Application for SAP

Probably.

What's a SAP? What programming skills do you have? What do you know about communication protocols?
Forum: C++ 3 Days Ago
Replies: 4
Views: 100
Posted By niek_e
Re: USB handling using API in C++

The Altera DE3 board came with a CD right? My bet is that is has a sample program usb-host/device. All Dev-boards I've ever worked did anyway.


yup. I was right...
Forum: C++ 3 Days Ago
Replies: 2
Views: 56
Posted By niek_e
Re: bitmap dissapears on window resize

I'm not sure, and I haven't done this for a few years, but you could try a this->refresh() when you're done resizing
Forum: C 3 Days Ago
Replies: 3
Views: 110
Posted By niek_e
Re: Learning C Language

How about the very first thread in this forum: Starting C (http://www.daniweb.com/forums/thread50370.html) ?
Forum: Computer Science and Software Design 3 Days Ago
Replies: 8
Views: 165
Posted By niek_e
Re: flowchart

No it won't. If you would just draw out a table on paper with "count", "factoral" and the product of both, you could have easily found out that it counts from 100-10 .
Besides, why use an addtional...
Forum: C++ 3 Days Ago
Replies: 2
Views: 107
Posted By niek_e
Re: stray '\150' in program

Wow, that was a problem I never encoutered before, but I solved it :)

This piece of code

else if( y1 < -((windowHeight)–rsize+ystep) )
y1 = -windowHeight + rsize -1;


should be replaced...
Forum: C++ 3 Days Ago
Replies: 3
Views: 78
Posted By niek_e
Re: Assistance with the Implementation of ADT Abstract Data Type

I agree.
First I thought the OP was just too lazy to even type the requirements here, but I see that you're right.
I always wonder why people are smart enough to constantly cheat the system and are...
Showing results 1 to 40 of 500

 
All times are GMT -4. The time now is 10:52 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC