Search:

Type: Posts; User: niroopan

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Thread: array search

    by niroopan
    Replies
    8
    Views
    1,797

    this code will only work for arrays declared as...

    this code will only work for arrays declared as char]




    char name[25][25];



    i need the code for the declaration:
  2. Thread: array search

    by niroopan
    Replies
    8
    Views
    1,797

    i dont know how to compare the first character...

    i dont know how to compare the first character with the inputted value.




    for(int x = 1; x <= 5;x++)
    {

    if(start_with == name[x][0])
    {
  3. Thread: array search

    by niroopan
    Replies
    8
    Views
    1,797

    array search

    hi. i was looking through the "help" in C++ and found a search and attempted to mod it for searching through arrays. Unfortunately, it was unsuccessful.

    say i have the an array of name[5] of:
    ...
  4. Replies
    4
    Views
    1,396

    deleting a space from a string

    say I have this code.



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

    main()
    {
  5. Replies
    3
    Views
    1,418

    look up strtok()

    look up strtok()
  6. Replies
    8
    Views
    2,353

    if you do setw(), then you have to do a number of...

    if you do setw(), then you have to do a number of things to center.




    #include <cstring.h>
    #include <iostream.h>
    #include <iomanip.h>

    main()
  7. Replies
    4
    Views
    1,586

    i need the code that is similar to strlen(), but...

    i need the code that is similar to strlen(), but since i'm using cstring it will not work. I need the code which will count the number of characters in a variable, using a command which is not in...
  8. Replies
    4
    Views
    1,586

    Counting using Lib Cstring

    need the code for cstring counting:

    this is string counting:



    #include <string.h>

    ...
  9. Replies
    2
    Views
    1,357

    strlen problem

    i have this lib: #include <cstring.h>






    string message;
    length = strlen(message);
  10. Thread: Problem

    by niroopan
    Replies
    4
    Views
    980

    not that, its an actual .cpp file.

    not that, its an actual .cpp file.
  11. Thread: Problem

    by niroopan
    Replies
    4
    Views
    980

    Problem

    i downloaded a c++ program from a person on this site, and everytime i open MSN window, a message comes up to go to an address, which is a place to download the program. Does anyone know how to get...
  12. Thread: parse

    by niroopan
    Replies
    6
    Views
    956

    i tried this, but it gives me errors. ...

    i tried this, but it gives me errors.



    #include <cstring.h>
    #include <iostream.h>
    #include <conio.h>
    #include <fstream.h>
    #include <stdio.h>
  13. Thread: parse

    by niroopan
    Replies
    6
    Views
    956

    this is what I have so far. #include...

    this is what I have so far.



    #include <cstring.h>
    #include <iostream.h>
    #include <conio.h>
    #include <fstream.h>

    main()
  14. Thread: parse

    by niroopan
    Replies
    6
    Views
    956

    how do i make it read up to the first space?

    how do i make it read up to the first space?
  15. Thread: parse

    by niroopan
    Replies
    6
    Views
    956

    parse

    hello everyone, i have a problem. Im reading a .txt file in like this:



    Doe,John 20


    it fills the array: list[10]

    I would like to put 20 into an integer array, and Doe, John...
  16. Thread: Error

    by niroopan
    Replies
    2
    Views
    1,186

    ill post it all... :/ This is spree.cpp: ...

    ill post it all... :/

    This is spree.cpp:




    //Program Name: spree.cpp//
    //Revision Date: 2002-11-08//
    //Explanation: To create a shopping spree program//
  17. Thread: Error

    by niroopan
    Replies
    2
    Views
    1,186

    Error

    Unresolved External 'menu(double, double, double&)' referenced from ...

    what does this mean in simple language
  18. Replies
    3
    Views
    1,582

    the other ones work without prototypes... i...

    the other ones work without prototypes...

    i dont know what prototypes are so could someone write one where i need it for the libraries i have posted please.
  19. Replies
    3
    Views
    1,582

    call to undefined function...

    how come it cant find it...

    This is select.h with the menu function:



    #ifndef _SELECT_H
    #define _SELECT_H

    #include "center.h"
  20. Thread: Problem

    by niroopan
    Replies
    5
    Views
    958

    how would i do this

    how would i do this
  21. Replies
    13
    Views
    1,256

    array[0] must be blank im pretty sure of this.

    array[0] must be blank im pretty sure of this.
  22. Thread: Problem

    by niroopan
    Replies
    5
    Views
    958

    could you post the editted code please, i'm a...

    could you post the editted code please, i'm a beginner so a really need to see what the code looks like
  23. Replies
    2
    Views
    869

    #include #include int...

    #include <time.h>
    #include <iostream.h>
    int main(void)

    {

    time_t t = time(NULL); //calls time function
    cout << ctime(&t) << endl; //display of time
    }
  24. Thread: Problem

    by niroopan
    Replies
    5
    Views
    958

    Problem

    can someone tell me what is wrong:



    void input(char& *first,char& *last,double& winning_amount)
    {

    cout <<"What is your name( first last): " ;
    cin >>first;
    cin >> last;
  25. Replies
    7
    Views
    1,663

    i just want it for myself

    i just want it for myself
Results 1 to 25 of 72
Page 1 of 3 1 2 3