Search:

Type: Posts; User: blackmisery

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    2,612

    Software Developer needed

    A Korean IT company would like to hire an S/W developer as a regular people.
    The below is qualification and requirement.

    1. Number of People: 1
    2. Start to work: at the beginning of September...
  2. Replies
    5
    Views
    1,312

    can u explain more about this format modifiers...

    can u explain more about this format modifiers ??? is it something like



    {
    ("%.2f", variable) ;
    }


    i'm not very sure as well.
  3. Replies
    5
    Views
    1,312

    printf problem

    A friend ask me to help with his code. the input will be as following:

    1st input -> number of loop
    2nd input -> given number
    3rd input -> number of rotation

    example:

    1
    123045
  4. Replies
    4
    Views
    1,056

    ic . many thanks guys. understood very well now

    ic . many thanks guys. understood very well now
  5. Replies
    4
    Views
    1,056

    Newbie Question

    my assignment is to write a program that asks for a temperature in celcius, then spits out a value in fahrenheit, kelvin and reaumur.

    This is what i have done:



    #include <stdio.h>
    #include...
  6. Replies
    6
    Views
    946

    Returning a value from a function

    hi there, i tried to return a value from a function and the value returned will be used another function. here is my code



    void processL()
    {
    .....
    .....
    if(nameLine==Name &&...
  7. Replies
    11
    Views
    1,326

    I modified my code. Here it is int ctr =...

    I modified my code. Here it is



    int ctr = 0;
    while (ctr<expression.length())
    {
    if (expression.at(ctr)== '(' || expression.at(ctr)== '[' || expression.at(ctr)== '{')...
  8. Replies
    11
    Views
    1,326

    I was about to ask about the character.can u give...

    I was about to ask about the character.can u give me any clue :D

    I tried to check the parentheses here, but it gave me a debug window when i ran it. Did i maka any mistake or the whole code is...
  9. Replies
    11
    Views
    1,326

    #pragma warning(disable:4786) #include...

    #pragma warning(disable:4786)
    #include<iostream>
    #include<string>
    #include<stack>
    using namespace std;

    void displayStack( std::stack<char> aStack ) //by value
    {
    for( ; !aStack.empty();...
  10. Replies
    11
    Views
    1,326

    Newbie stack question

    Hi, can u help me with this code below


    #pragma warning(disable:4786)
    #include<iostream>
    #include<string>
    #include<stack>
    using namespace std;

    void displayStack( std::stack<string> aStack...
  11. Thread: Loop

    by blackmisery
    Replies
    8
    Views
    1,048

    ok. i get it. Thanks a lot quzah.

    ok. i get it.
    Thanks a lot quzah.
  12. Thread: Loop

    by blackmisery
    Replies
    8
    Views
    1,048

    Are there any other method beside using while...

    Are there any other method beside using while loop ??


    thx in advance
  13. Thread: Loop

    by blackmisery
    Replies
    8
    Views
    1,048

    Loop

    #include <stdio.h>
    #include <stdlib.h>

    main()
    {
    int menu;
    printf("1.Test1\n");
    printf("\n2.Test2\n");
    printf("\n3.Exit\n");
    printf("\nEnter Selection: ");
  14. Replies
    10
    Views
    1,280

    Thank you micko.

    Thank you micko.
  15. Replies
    10
    Views
    1,280

    previously the err.. occur in this part ...

    previously the err.. occur in this part


    for(counter = 0; counter < stuNum; counter++)
    {
    printf("\nEnter student name: ");
    scanf("%s", s1[counter].name);

    printf("Enter student result: ");...
  16. Replies
    10
    Views
    1,280

    I always prefer to clear buffer after input,...

    I always prefer to clear buffer after input, somewhere this is necessary, and somewhere is not.
    Anyway, here's clear_buf function:


    void clear_buf()
    {
    while(getchar() != '\n');
    }
  17. Replies
    10
    Views
    1,280

    I tried to change this part for(counter...

    I tried to change this part




    for(counter = 0; counter < stuNum; counter++)
    {
    print("\nEnter student name: ");
    scan("%s", s1[counter].name);
  18. Replies
    10
    Views
    1,280

    Reading from file

    Hello to all.

    I'm a newbie at C programming and this forum as well. A friend told me that I could get some good advice regarding C programming here.

    I've written a simple program which ask user...
Results 1 to 18 of 18