Search:

Type: Posts; User: mdk69; Keyword(s):

Search: Search took 0.07 seconds.

  1. Re: Header file in C++ to do graphics programming under Linux

    Yes... it depends on what you want to do...

    for OpenGL .... /usr/include/GL/
    for GTK .... /usr/include/gtk-version/

    search in google and /usr/include/

    sds
  2. Answers
    6
    Views
    1,836

    Re: solve the equation....

    I put the eq. in the folowing form
    Y^2 - x^3 = 432
    So i divided by prime numbers 432 = 2^4*3^3, then the result must be multiple of two's and three's. Maybe there is a scientific method, I don't...
  3. Answers
    6
    Views
    1,836

    Re: solve the equation....

    y = 36 and x = 12
  4. Thread: RE:deletion

    by mdk69
    Answers
    2
    Views
    976

    Re: deletion

    Hi, you can try with sed and its substitution comand:

    sed -e 's/word_to_be_deleted//' my_file

    the s is the name of the command,
    the expression between the first an second slashes (/) is the...
  5. Thread: Sql

    by mdk69
    Answers
    2
    Views
    938

    SQL Re: Sql

    could be you more especific? with rmdbs and what are the tbale fileds?
    if you table had a salary pay day the select could be this

    select salary
    from salary_table
    where salary between 70000 and...
  6. Answers
    3
    Views
    869

    SQL Re: I would like to lpad the first 10 numbers

    Hi, you can use a case expression in this problem,

    /* Oracle DB */

    select case when dno < 0 then '-' || lpad(dno,9,'*')
    else lpad(dno,10,'*')
    end
    from dual

    On other RDBMS I don't know...
  7. Thread: SPLIT command

    by mdk69
    Answers
    1
    Views
    4,736

    Re: SPLIT command

    you can use -lnumber to tell split how many rows (or record if a row is a record) will be each file.

    split -l65000 mi_huge_file_500000

    after that split will create the files xaa, .... etc......
  8. Re: Append the result of another shell script to the last line of a file

    Hi, you can use >> to append to a end of a file, p.e. you have two files, file1 and file2 and you want to append file2 to the end of file 1, then you do:
    cat file2 >> file1

    that's all.
    another...
  9. Re: An array of 100 elements consists of only 0's and 1's

    in C you can do it in one line

    for(i = 0; i < ARR_SIZ ; i++) (num[i] == 1) ? ones++: zeros++;

    a sample program could be...
    ------------------

    #include <stdio.h>
    #define ARR_SIZ 100
Results 1 to 9 of 9
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact