Forum: C++ Sep 12th, 2008 |
| Replies: 3 Views: 390 I couldn't imagine any bit of competent help being not worth while, but then again I've been surprised before.
However, the fact that he offers it in 6DVDs or VHS tapes makes me wonder when the... |
Forum: C++ Feb 6th, 2008 |
| Replies: 16 Views: 2,526 you dont need to use the visual studio environment for .NET but it sure does make coding a hell of a lot easier :P |
Forum: C++ Feb 5th, 2008 |
| Replies: 3 Views: 508 post up some of your source and the exact issues are that you are having. |
Forum: C++ Feb 5th, 2008 |
| Replies: 10 Views: 997 fastest/funnest way (for me at least):
find a friend or ask your parents for a very simple program that they would like to see
* Temperature calculator
* Recipe Program (for saving drink... |
Forum: C++ Feb 5th, 2008 |
| Replies: 16 Views: 2,526 I use Microsoft Visual Studio Professional
if you are just starting out i would recommend the express versions.
I've dabbled around in other IDEs and with other compilers but i happen to like... |
Forum: C++ Nov 30th, 2007 |
| Replies: 7 Views: 1,079 cool because i like starwars otherwise i am not sure of it's purpose. |
Forum: C++ Nov 30th, 2007 |
| Replies: 4 Views: 4,489 you could however generate positive values and multiply by -1 :) |
Forum: C++ Nov 30th, 2007 |
| Replies: 3 Views: 4,683 Aside from the major syntax and naming issues:
thats because your array of 20 looks like
Rudolf00000000000000
--------------------
// each 0 is actually a null character |
Forum: C++ Oct 5th, 2007 |
| Replies: 5 Views: 1,408 this statement is entirely different from what you have in your code.
/*
toupper returns an INT value
toupper(a) will return 65 the ascii value for an uppercase A
*/
// the following... |
Forum: C++ Oct 5th, 2007 |
| Replies: 19 Views: 4,632 What effort have you given this?
Can you post any code?
Some great tutorials have been posted that should get you started. |
Forum: C++ Oct 4th, 2007 |
| Replies: 5 Views: 1,408 your code worked and compiled fine for me (besides a typo in your post)
what exactly are you referring to as not working?
cout<<toupper(*pos)<<" "; //without cast it doesn't work, why?... |
Forum: C++ Oct 3rd, 2007 |
| Replies: 14 Views: 1,521 I've learned that what i actually write for clients and what I learned in class and books is pretty darn far apart and for the most part the instructor has become too far seperated from reality to... |
Forum: C++ Sep 27th, 2007 |
| Replies: 12 Views: 4,472 Here is a version I wrote based on your code and heavily commented :)
#include <iostream>
#include <fstream>
using namespace std;
int main( void )
{
ifstream inFile; // create a file... |
Forum: C++ Sep 27th, 2007 |
| Replies: 12 Views: 4,472 Make sure to test if the stream is open
inFile.is_open()
if it's not open your vowels.txt file is in the wrong directory.
that being said if you want I can PM you a working version, a... |
Forum: C++ Sep 27th, 2007 |
| Replies: 19 Views: 4,632 It can be tricky, there is a playSound function in C++ but it's not all that powerful so you may be best suited to look for a library to do that, or feel free to get your hands dirty with some... |
Forum: C++ Sep 24th, 2007 |
| Replies: 8 Views: 5,484 yeah...okay fine. i did this for another site buddy ;) |
Forum: C++ Sep 24th, 2007 |
| Replies: 8 Views: 5,484 lol sure, that works i wrote that in about ~5min before because i just wanted to solve a problem real fast, optimizations will come later when i get to the much harder problems on projecteuler.net... |
Forum: C++ Sep 23rd, 2007 |
| Replies: 8 Views: 5,484 hehe, i just wrote a counter that will go all the way up to 10001 instantly, though i havnt tested it for higher values.
super simple and absolutely NO goto's.
#include <iostream>... |
Forum: C++ Sep 11th, 2007 |
| Replies: 16 Views: 7,166 :D
which came first: the chicken or the egg!! |
Forum: C++ Sep 6th, 2007 |
| Replies: 47 Views: 66,940 actually it does work
assume a = 3 and b = 7
a = a + b
a = 10
b = 7
b = a - b |
Forum: C++ Jul 23rd, 2007 |
| Replies: 11 Views: 2,726 yes it can be a bit of a pain at first but using the windows api it can be done :)
this is of course in windows, you need to specify the OS for a more specific answer.
... |
Forum: C++ Jul 21st, 2007 |
| Replies: 4 Views: 1,193 when it comes time to save the high score read in the pre-existing scores and check them against the current score, if the current score is a better score then save, if not do not write out to file... |
Forum: C++ Jul 20th, 2007 |
| Replies: 47 Views: 8,713 i do believe that both the language and VM are created using C++. |
Forum: C++ Jul 20th, 2007 |
| Replies: 47 Views: 8,713 why not just start with C++
#include <iostream>
#include <string>
using namespace std;
int main ( void )
{
cout << "hello world";
} |
Forum: C++ Jul 20th, 2007 |
| Replies: 7 Views: 5,794 not quite sure on that last part, but i am guessing C# has a similar behavior for formatting strings. |
Forum: C++ Jul 19th, 2007 |
| Replies: 6 Views: 18,993 working on my setup here
#include <iostream>
#include <map>
#include <string>
using namespace std;
class x
{ char str [40];
public:
x () {strcpy (str,"");}
x (char *s)... |
Forum: C++ Jul 19th, 2007 |
| Replies: 47 Views: 8,713 languages i would recommend (through countless hours of interviews and job searches) are C, C++, C#, and Possibly ASP.NET (if you are interested in web based applications).
I have found that... |
Forum: C++ Jul 19th, 2007 |
| Replies: 7 Views: 5,794 i will post the conversion for you, give me a minute.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using... |
Forum: C++ Jul 19th, 2007 |
| Replies: 47 Views: 8,713 I am pretty sure they are. If you go to java's website and grab the SDK's and tool kits they all come packed as C++ |
Forum: C++ Jul 17th, 2007 |
| Replies: 62 Views: 9,479 i've worked with clients in which they never knew what they wanted, so matter how much questioning and work we did he always wanted "more" he always wanted a new expensive feature added, which i was... |
Forum: C++ Jul 16th, 2007 |
| Replies: 62 Views: 9,479 here try this one then. VB sucks, the language is weak and there is no supprise that VB works better as a scripting language (dur VBScript) than VB works as a software language. hope that clears... |
Forum: C++ Jul 16th, 2007 |
| Replies: 62 Views: 9,479 basically.
hahah would not be supprised if billy gates himself wrote that.
i'm not a windows basher but billy gates sure does love his visual basic even though it works better for scripting. |
Forum: C++ Jul 15th, 2007 |
| Replies: 62 Views: 9,479 i am sure we could both find people to argue both sides of the fence ;)
it's no use for either one of us to argue it, but i am basing this on personal trial/error using VB and VB's basic... |
Forum: C++ Jul 15th, 2007 |
| Replies: 62 Views: 9,479 VB reads like a childrens book.
the grammar and structure is poorly created.
DIM foo AS something = something;
or instead of using the "this" keyword it uses ME
ME.foo (which reads... |
Forum: C++ Jul 14th, 2007 |
| Replies: 3 Views: 3,520 |
Forum: C++ Jul 14th, 2007 |
| Replies: 30 Views: 7,016 i did a google on the error you posted but didnt get much (put it in quotes to hope to find someone with the same error)
doing a little rearranging this was the best i could find |
Forum: C++ Jul 14th, 2007 |
| Replies: 62 Views: 9,479 no concern of mine, do some searching around online and you will find a great wealth of information on both strtok and strtok_s
cheers. |
Forum: C++ Jul 14th, 2007 |
| Replies: 3 Views: 3,520 |
Forum: C++ Jul 14th, 2007 |
| Replies: 62 Views: 9,479 i had read online that strtok may not be safe and the better version to use is strtoke_s
after messing around with strtok_s for a bit i found that this version was a bit more easy to use. |
Forum: C++ Jul 13th, 2007 |
| Replies: 7 Views: 1,015 i think he/she may be asking what is the maximum ammount of information a char * can take.
or what is the max buffer size for the getline statement |