Forum: Software Developers' Lounge 13 Minutes Ago |
| Replies: 1 Views: 11 Re: Application for SAP Probably.
What's a SAP? What programming skills do you have? What do you know about communication protocols? |
Forum: C++ 20 Minutes Ago |
| Replies: 3 Views: 48 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++ 29 Minutes Ago |
| Replies: 1 Views: 9 |
Forum: C 1 Hour Ago |
| Replies: 1 Views: 29 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 1 Hour Ago |
| Replies: 6 Views: 91 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++ 4 Hours Ago |
| Replies: 1 Views: 44 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++ 5 Hours Ago |
| Replies: 3 Views: 50 |
Forum: C++ 5 Hours Ago |
| Replies: 8 Views: 105 Re: Char/String problems Read what Narue already told you:
I'll try to further clarify this.
First open this ascii-table (http://www.asciitable.com/)
Let's assume that your function is returning the unsigned short 1. You... |
Forum: C++ 5 Hours Ago |
| Replies: 2 Views: 48 |
Forum: C++ 1 Day Ago |
| Replies: 9 Views: 142 Re: Py Lame???? That's probably because you post a python question in a C++ forum. You should ask your question in the python forum (http://www.daniweb.com/forums/forum114.html) |
Forum: DaniWeb Community Feedback 1 Day Ago |
| Replies: 10 Views: 197 Re: DaniWeb Blogs Aha. I use FF3 + Ad-block so that entire frame/div/table/whatever is missing. But thanks for the tip, I'll turn of adblock occasionally :) |
Forum: DaniWeb Community Feedback 1 Day Ago |
| Replies: 10 Views: 197 Re: DaniWeb Blogs In addition to the things already said,
Daniweb isn't really known for it's blogging possibilities. I visit sites like reddit and digg etc frequently, but Daniweb's articles are seldom featured on... |
Forum: C++ 3 Days Ago |
| Replies: 22 Views: 257 |
Forum: Geeks' Lounge 3 Days Ago |
| Replies: 11 Views: 236 |
Forum: C++ 4 Days Ago |
| Replies: 5 Views: 74 |
Forum: Game Development 4 Days Ago |
| Replies: 1 Views: 66 |
Forum: C++ 4 Days Ago |
| Replies: 5 Views: 74 Re: deleting allocated area Should work fine. The error is probably the result of something else in the code.
Can you post a small example of code that crashes? |
Forum: C++ 4 Days Ago |
| Replies: 9 Views: 142 Re: Py Lame???? click (http://sourceforge.net/project/showfiles.php?group_id=290&package_id=65402) |
Forum: C++ 4 Days Ago |
| Replies: 7 Views: 94 Re: help in c++ All the sudoku's I've ever played had numbers from 1-9 and not 0-9, but whatever. Here's a small example that gives 1 random number in the range 1-9:
// Seed the generator. Do this ONLY ONCE
... |
Forum: C++ 4 Days Ago |
| Replies: 7 Views: 94 Re: help in c++ Too vague.
What do you want? Do you want a random number between 0-9 or 1-10? How big is your x[] array? Where do you seed the random generator with srand()? |
Forum: C++ 4 Days Ago |
| Replies: 7 Views: 94 Re: help in c++ According to Cplusplus.com, rand() returns a pseudo-random integral number in the range 0 to RAND_MAX. This number is generated by an algorithm that returns a sequence of apparently non-related... |
Forum: Geeks' Lounge 4 Days Ago |
| Replies: 22 Views: 1,171 Re: What do you want for Christmas? We don't get gifts with Christmas. We celebrate the original holiday of Sinterklaas (http://en.wikipedia.org/wiki/Sinterklaas)(yes, Santa-Claus is the lame rip-off :) )
The biggest advantage is that... |
Forum: C++ 4 Days Ago |
| Replies: 17 Views: 378 Re: Trouble with If and Else It doesn't matter that you already used it once. Just add the line were you want.
Haven't got a clue what you mean with this^^ . |
Forum: C++ 4 Days Ago |
| Replies: 14 Views: 249 Re: Retrieve value Starting to look like it :)
Next you'll have to figure out how to split the string into numbers and discard the comma's. So you'll need a sort of tokenizer ... |
Forum: C++ 4 Days Ago |
| Replies: 9 Views: 142 Re: Py Lame???? If you want to use the Lame functions in Python, what are you using C++ for ??
Just start idle (or whatever IDE your using) and type:
import lame |
Forum: C++ 4 Days Ago |
| Replies: 9 Views: 187 |
Forum: C++ 4 Days Ago |
| Replies: 4 Views: 142 Re: Compiling in VC++ 2008 Express I'm not sure, but if you just hit F5, only code that changed will recompile. Unmodified code will be left as it was. But I might be wrong and I can't test it right now. |
Forum: Game Development 5 Days Ago |
| Replies: 4 Views: 281 |
Forum: Software Developers' Lounge 5 Days Ago |
| Replies: 6 Views: 497 |
Forum: Software Developers' Lounge 5 Days Ago |
| Replies: 8 Views: 228 |
Forum: C++ 5 Days Ago |
| Replies: 6 Views: 121 Re: Error with getDate function Hmm, that weird, my answer to your post appears above the post...
anyway:
Change the definition to
void getDate(int&, string& ,int&) const; |
Forum: C++ 5 Days Ago |
| Replies: 6 Views: 121 |
Forum: C++ 5 Days Ago |
| Replies: 15 Views: 262 Re: C++ system (cmd) and variable Why don't you just try it and see? You might want to put setjava in double quotes "setjava".
If you have no experience in C++ (which I'm assuming), you might be better of with Ancient Dragon's... |
Forum: C++ 5 Days Ago |
| Replies: 5 Views: 121 Re: Help on begginer project A few tips:
in case 1:
you're using the variable Clist which isn't declared yet. (you're declaring it in case 4)
This:
Clist.open();
cout<<Clist; |
Forum: C++ 5 Days Ago |
| Replies: 6 Views: 121 |
Forum: C++ 5 Days Ago |
| Replies: 2 Views: 117 Re: a very beginner needs help in c++ You're wrong :)
If you want a number in the range 0-49 (an array of 50) you should use something like this:
m = rand() % 50;
n = rand() % 80;
That way you're sure that you'll stay within the... |
Forum: C++ 5 Days Ago |
| Replies: 2 Views: 80 Re: Help Required with Salary Program.. That's not really hard if I understand your (rather vague) requirements correctly.
- take in a number
- if it's bigger then 40: subtract 40 and store the rest
- multiply the rest with 1,5 and add to... |
Forum: C++ 5 Days Ago |
| Replies: 9 Views: 142 Re: Py Lame???? if you have python installed (which I'm assuming you have) the python.h file would be in your pyhton25\include directory.
I've never used code::blocks, so I can't tell you exactly how; but you... |
Forum: Geeks' Lounge 6 Days Ago |
| Replies: 30 Views: 1,755 Re: My Birthday This is the first post I've ever made that bumps a year old thread, but I thought it might be worth it ;)
Happy birthday Dani! How was your day? |
Forum: *nix Software Oct 13th, 2008 |
| Replies: 4 Views: 568 Re: Tftp on Fedora 7 I misread your original post. I thought you said that I shouldn't use tftp if I wasn't familiar with it, but you were talking about VI :)
Luckily I have the VI-coffee-mug... |