Search Results

Showing results 1 to 25 of 25
Search took 0.06 seconds.
Search: Posts Made By: Killer_Typo ; Forum: C++ and child forums
Forum: C++ Feb 6th, 2008
Replies: 16
Views: 2,546
Posted By Killer_Typo
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: 16
Views: 2,546
Posted By Killer_Typo
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: 3
Views: 4,753
Posted By Killer_Typo
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,430
Posted By Killer_Typo
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 4th, 2007
Replies: 5
Views: 1,430
Posted By Killer_Typo
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++ Sep 27th, 2007
Replies: 12
Views: 4,511
Posted By Killer_Typo
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,511
Posted By Killer_Typo
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++ Jul 23rd, 2007
Replies: 11
Views: 2,743
Posted By Killer_Typo
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 14th, 2007
Replies: 30
Solved: Chess Program
Views: 7,129
Posted By Killer_Typo
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: 3
Views: 3,537
Posted By Killer_Typo
Forum: C++ Jul 12th, 2007
Replies: 4
Views: 5,198
Posted By Killer_Typo
since you are using VC++ i am assuming you arein the .NET framework?

do you happen to be working with windows forms?

System::Windows::Forms

if so then you can capture keyboard input...
Forum: C++ Jul 11th, 2007
Replies: 10
Views: 1,257
Posted By Killer_Typo
http://www.cplusplus.com/

great resource, i use it for the most part.
Forum: C++ Jul 8th, 2007
Replies: 62
Solved: Permutation
Views: 11,418
Posted By Killer_Typo
great post.

actually gave me some ideas on how i would personally tackle this problem.
Forum: C++ Jul 5th, 2007
Replies: 6
Views: 1,258
Posted By Killer_Typo
the most efficient method is going to entail determining the difference between what you have and what zero is and then subtracting by that ammount instead of continually removing one unit at a time....
Forum: C++ Jul 4th, 2007
Replies: 4
Views: 992
Posted By Killer_Typo
you are correct in that it fails if you assign the itterator before you have placed any values into the vector.
Forum: C++ Jul 4th, 2007
Replies: 6
Views: 1,258
Posted By Killer_Typo
found the second bug

while( str_time.substr(14,2) != "00")
{
str_time = format_time( input_time );
input_time -= 60;
}


the reason this is incorrect is because the...
Forum: C++ Jul 4th, 2007
Replies: 4
Views: 992
Posted By Killer_Typo
use this


cout << (*itr++).c_str() << endl;
Forum: C++ Jul 4th, 2007
Replies: 6
Views: 1,258
Posted By Killer_Typo
i will check it but also you should try running it a few times to see what happens.

EDIT:

also please include any headers and other functions you may have defined :)
Forum: C++ Jul 2nd, 2007
Replies: 10
Views: 4,710
Posted By Killer_Typo
the information provided in this thread has been an awesome resource.

at first i was going huh? ** or *& but now it makes sense to me :-D

...
Forum: C++ Jul 1st, 2007
Replies: 18
Solved: Insertion Sort
Views: 7,646
Posted By Killer_Typo
what are random numbers?

just that random numbers :D

http://www.daniweb.com/forums/post394829-10.html

this is an array pointer example i wrote, but it deals with random numbers :)
Forum: C++ Jun 28th, 2007
Replies: 18
Solved: Insertion Sort
Views: 7,646
Posted By Killer_Typo
now it's time to write your own insertion method :D

no better way to learn than with your very own hands :)
Forum: C++ Jun 28th, 2007
Replies: 10
Views: 4,710
Posted By Killer_Typo
based on these two methods is there any gain over one, is one safer than another?
Forum: C++ Jun 26th, 2007
Replies: 10
Views: 1,685
Posted By Killer_Typo
now that im awake i will try to explain this some more lol! :D



#include "stdafx.h"
#include <cstdlib>
#define length(a) (sizeof a / sizeof a[0])

i've included the cstdlib to gain access...
Forum: C++ Jun 26th, 2007
Replies: 10
Views: 1,685
Posted By Killer_Typo
some code i wrote that basically does what you spoke of


#include "stdafx.h"
#include <cstdlib>
#define length(a) (sizeof a / sizeof a[0])
void ArrayGenerator(int * MyArray, int ArraySize) {...
Forum: C++ Dec 7th, 2006
Replies: 3
Views: 10,736
Posted By Killer_Typo
without thuroughly going through your code the best i can give you is this:

try not to specificy the location of tyour database from the connection string.

(which is what it appears you are...
Showing results 1 to 25 of 25

 


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

©2003 - 2009 DaniWeb® LLC