Forum: C++ Nov 30th, 2006 |
| Replies: 3 Views: 1,044 lets say you have
char sMyString[6];
0 1 2 3 4 5
[A] [R] [R] [A] [Y] [\0]
you call delete_repeats ( sMyString, 0 );
so basically you want to delete A at position 3, but you... |
Forum: C++ Nov 30th, 2006 |
| Replies: 1 Views: 1,146 hash-map(or hash tables) are usually used for getting retrieval of records in O(n) time... something you'd see in a database design. vector is probably the quickest and simplest way to go:
- its... |
Forum: C++ Aug 30th, 2005 |
| Replies: 4 Views: 1,477 while defining the class is on the right track, you still need to create an object of that class (an instance of class dateReport)
your constructor for your class should initialize all data members... |
Forum: ASP.NET Aug 25th, 2005 |
| Replies: 5 Views: 2,228 the iis on a winxp cd is usually asp 1.0, current (up to date) asp.net is like 1.1 i believe so you need to check if they match up or not, just google iis upgrade 1.0 |
Forum: ASP.NET Aug 25th, 2005 |
| Replies: 5 Views: 2,228 make sure that iis has the same version of asp.net as yer vs does.
are you running it against a database? did you stick a config file in the same directory for debuggin? |
Forum: C Aug 24th, 2005 |
| Replies: 1 Views: 1,280 do you mean setprecision()?
yer gonna need to insert it into the stream before your data likeso
struct statLine{
int id;
int primary_type;
int secondary_type;
double period;
double... |
Forum: C Aug 24th, 2005 |
| Replies: 2 Views: 21,011 click here (http://www.cprogramming.com/tutorial/computersciencetheory/algorithmicefficiency1.html) |
Forum: C Aug 23rd, 2005 |
| Replies: 3 Views: 1,582 why did you make 2 posts on the same topic? |
Forum: C# Aug 23rd, 2005 |
| Replies: 1 Views: 2,149 use ado.net capabilites. these will allow you to connect your program to a database (like access) and be able to retrieve, insert, delete, etc records and information in your c# program |
Forum: ASP.NET Aug 19th, 2005 |
| Replies: 11 Views: 62,350 another fun thing is that the .net IDE has a WYSIWYG feature so you can build web pages visually, then fill in the parameters. this also "writes" the basic code for your design, and you simply fill... |
Forum: ASP.NET Aug 19th, 2005 |
| Replies: 3 Views: 3,333 wont winxp pro be able to do it too? (though not as nice?) |
Forum: C++ Aug 18th, 2005 |
| Replies: 54 Views: 13,061 use your book and compare the syntax of what you wrote to examples in the book. if they look good, then do a dry run of your program on paper, write out each variable and what happens to its contents... |
Forum: C++ Aug 18th, 2005 |
| Replies: 8 Views: 1,467 read the file line by line, and parse each line and save it to your struct |
Forum: C++ Aug 18th, 2005 |
| Replies: 4 Views: 5,585 since get and getline write to a char*, just use atoi, for example
#include <stdlib.h>
int main(void)
{
char *buf1 = "42";
char buf2[] = "69.00";
int i;
double d;
... |