Search:

Type: Posts; User: bigwullie

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,104

    Hi The following is a function for finding day of...

    Hi The following is a function for finding day of week I used in a college assignment

    In the main program you could use

    cout<<dateName(18,11,2003);

    or input a date and parse into day, month,...
  2. Replies
    8
    Views
    1,092

    Hi in your first for loop you have this for...

    Hi in your first for loop you have this

    for (int i = 7; i < 0; i--)

    and it should be this
    for (int i = 7; i > -1; i--)

    in the second for loop you have this

    for (int i = 0; i > 7; i++)
  3. Replies
    2
    Views
    1,176

    try for(int i=0;!filename.eof();i++)

    try
    for(int i=0;!filename.eof();i++)
  4. Replies
    6
    Views
    1,692

    The spaces in the path c:\documents and...

    The spaces in the path
    c:\documents and settings\ryan\my documents\t3diichap01\raiders3d
    might be causing the problem
    Put you files in a folder that's in a path with no spaces
    and it could solve...
  5. Replies
    3
    Views
    1,214

    To get a number from a string you need something...

    To get a number from a string you need something like the following. Create a function to do it.


    #include <iostream>
    using namespace std;

    int main()
    {
    char ch[]="Figure59@?$";
    char...
  6. Replies
    5
    Views
    2,479

    What compiler are you using? I have tested your...

    What compiler are you using? I have tested your code using various length strings up to 20 chars long and there is no problem.
    I use the Borland compiler. There is a free download. ...
  7. Replies
    13
    Views
    3,121

    This works with Borland and MS Visual C ...

    This works with Borland and MS Visual C


    #include <iostream.h>
    #include <string.h>
    #include <conio.h>

    int main()
    {
    char* x ;
  8. Replies
    5
    Views
    3,925

    c:\compiled\extract\cpp1.cpp(11) : error C2065:...

    c:\compiled\extract\cpp1.cpp(11) : error C2065: 'strlen' : undeclared identifier
    c:\compiled\extract\cpp1.cpp(25) : error C2374: 'i' : redefinition; multiple initialization

    You get these errors...
  9. Replies
    5
    Views
    3,925

    This piece of code does what you are asking....

    This piece of code does what you are asking.
    #include <iostream.h>
    #include <conio.h>
    char* stringy="FROM:<[email protected]>" ;
    char string1[30];
    char string2[30];
    int slen;

    int main()
    {
  10. Replies
    13
    Views
    1,105

    This works but does not handle backspaces which...

    This works but does not handle backspaces which you can work out for yourself.
    #include <iostream.h>
    #include<conio.h>

    char pass[30];

    int main()
    {
    int num=1;
  11. Replies
    6
    Views
    1,323

    It worked for me. The file is in the same folder...

    It worked for me. The file is in the same folder as the
    executable. If you want the file elsewhere put in the full path
    in the code.
  12. Thread: visual basic

    by bigwullie
    Replies
    7
    Views
    2,889

    Visual Basic

    www.vbcode.com for loads of code examples
Results 1 to 12 of 12