Search:

Type: Posts; User: devilsknight

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    1,053

    sweet that last one worked...thanks alot for the...

    sweet that last one worked...thanks alot for the help people really appreciate it ! :)
  2. Replies
    6
    Views
    1,053

    Problem with input

    Say if i had a user enter a character


    printf("Enter operation code: ");
    scanf("%s", operCode);

    if(operCode == 's')
    {
    some code to run
    }
  3. Replies
    4
    Views
    815

    Help with Structures

    Alrighty...here's my problem...i have to get data entered from a user and insert it into a structure...i ask the user to give me a operation code (i = insert), i go to the insert function create my...
  4. Replies
    5
    Views
    1,346

    it is homework...but i wasnt asking for someone...

    it is homework...but i wasnt asking for someone to code it for me

    i was asking for help on which function i should use...i'll be doing the rest of the program...is there a problem with that ?
    ...
  5. Replies
    5
    Views
    1,346

    String Function Question

    Would there be a string function for the following ?!

    Compares two strings for equality. If they are equal, zero is returned,
    otherwise the difference in value between the first two non-matching...
  6. Replies
    16
    Views
    36,966

    well thanks to everyone for their suggestions...

    well thanks to everyone for their suggestions except the last poster...i will try to look up what i can do

    thanks again

    b
  7. Replies
    16
    Views
    36,966

    yah the project states that i must let the user...

    yah the project states that i must let the user input what size then pass it along...

    so how do i fix that error ???

    i'm been workin away on it and have no clue how to work it
  8. Replies
    16
    Views
    36,966

    ok i think i figured out a way around it...i ask...

    ok i think i figured out a way around it...i ask the user for how many numbers it wants to enter...then pass that number to a function and create an array

    however i get this error:
    constant...
  9. Replies
    16
    Views
    36,966

    That stuff sounds kind of hard and probably way...

    That stuff sounds kind of hard and probably way ahead of what i'll learn in this class

    here's the teachers question...the rest of the question i left out cause i pretty much know how to program...
  10. Replies
    16
    Views
    36,966

    what i meant was if i didn't know what the user...

    what i meant was if i didn't know what the user was to enter, for example if i asked for integer numbers...and he entered 20 how would i tell the array to be that big ?

    thanks
  11. Replies
    16
    Views
    36,966

    Empty Array

    How would someone go about creating an empty array that would be filled from user input ???

    Thanks...i have no code for this yet cause i have no clue how to start an empty array

    thanks
    ...
  12. Replies
    7
    Views
    1,604

    sweet ok fixed that problem now one last...

    sweet ok fixed that problem

    now one last problem

    if i compare 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
    to 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30

    i get no matches

    but if i...
  13. Replies
    7
    Views
    1,604

    How about this

    How about if i do something like this


    int findIntersection(int set1[SIZE], int set2[SIZE], int intersection[SIZE], int numIntValue)
    {
    int x = 0;
    int i = 0;
    int y = 0;
    int a = 0;
    int b;
  14. Replies
    7
    Views
    1,604

    Set

    Not quite understanding how that works...could someone explain more ?

    Any other suggestions ?
    And does my code look alright ?

    thanks for your time

    b
  15. Replies
    7
    Views
    1,604

    Help passing and storing

    I need help passing values, i'm still unclear how to pass these and
    also if i want to search two (sorted) arrays for same values how would i do that and how would i then take that value and store it...
  16. Replies
    12
    Views
    1,289

    Ok i changed the code at the top. How does that...

    Ok i changed the code at the top. How does that look, i don't have a compiler here at work.

    Thanks for everything guys...appreciate it.

    devilsknight
  17. Replies
    12
    Views
    1,289

    and where would i place the output ex: "The...

    and where would i place the output ex: "The number was found" ?
  18. Replies
    12
    Views
    1,289

    ok i changed the code around, but what would i...

    ok i changed the code around, but what would i use now inside of the function isMemeber to return true or false ? sorry i'm still very new at this.

    and what does std::... do exactly ?

    if you...
  19. Replies
    12
    Views
    1,289

    i changed over the array from float to int...what...

    i changed over the array from float to int...what do you mean by boolean ? how would i return a boolean ?

    thank you for your help
  20. Replies
    12
    Views
    1,289

    lol yah...k just for the record then, where am i...

    lol yah...k just for the record then, where am i using C and where am i using C++ ? Our prof never quite told us when we swtiched over to C++ ?

    Thanks for your help.
  21. Replies
    12
    Views
    1,289

    Is this correct ?

    The program works...however for the question it states

    "The function should print true if the value is found in the array or false if the value is not found in the array."

    Would this be the way...
  22. Replies
    7
    Views
    4,482

    Wicked thanks alot for the help guys...it's...

    Wicked thanks alot for the help guys...it's always the small stuff that i miss

    Appreciate it
  23. Replies
    7
    Views
    4,482

    Passing array right

    I'm trying to pass an array...and add up it's total, however i'm always getting 0 as my answer. Someone tell me what i'm doing wrong...thanks...eventually it's going to calculate standard...
  24. Replies
    1
    Views
    1,740

    Range of Values

    How would i go about writing a simple program that would display the range of values for say

    integers
    long
    shorts

    thanks for your help
Results 1 to 24 of 24