Search:

Type: Posts; User: torqu3e

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    4,769

    I think what grumpy is saying is right, because I...

    I think what grumpy is saying is right, because I have ported the same code to VB 6 and that too could not play around with the port without inpout32.dll.

    Now a program called parmon which...
  2. Replies
    6
    Views
    4,769

    Parallel Port in XP

    #include<iostream.h>
    #include<conio.h>
    #include<dos.h>
    void left();
    void right();
    int main()
    {
    clrscr();
    int i;
    for(i=1;i<=10;i++)
  3. Thread: A lil confused

    by torqu3e
    Replies
    1
    Views
    1,228

    A lil confused

    Need to know how the following code would function...



    #include<stdio.h>
    int main()
    {
    int i=7;
    printf("%d",i++*i++);
    }
  4. Replies
    26
    Views
    2,500

    [root@Torqu3e Desktop]# more primes.C ...

    [root@Torqu3e Desktop]# more primes.C
    #include<stdio.h>
    #include<math.h>
    //#include<conio.h>
    int main(void)
    {
    long unsigned int limit=4294967294;
    long unsigned int n,i,flag,j=1;
    ...
  5. Replies
    26
    Views
    2,500

    Thanks for the concern. It aint about the list...

    Thanks for the concern.
    It aint about the list of the numbers that is whether i print them or keep them in a file is no concern. I am just trying to push my programming capability limits to edge. I...
  6. Replies
    26
    Views
    2,500

    Indented Code: #include...

    Indented Code:

    #include<stdio.h>
    #include<conio.h>
    #include<math.h>
    void main()
    {
    long unsigned int limit=4294967294;
    long unsigned int n,i,flag,j=1;
    clrscr();
  7. Replies
    26
    Views
    2,500

    Man that sounds greek and latin to me, I know C...

    Man that sounds greek and latin to me, I know C programming but aint a pro at your levels, a more elaborate explanation would be highly appreciated.
  8. Replies
    26
    Views
    2,500

    anon, that algorithm finds some numbers known as...

    anon, that algorithm finds some numbers known as pseudo primes, thats why you are getting so many primes in such a short range.

    Vart i will switch to "while(!kbhit());" instead of getch();

    If i...
  9. Replies
    26
    Views
    2,500

    I get that memory part, tell me the other...

    I get that memory part, tell me the other problems please, the above program runs fine so i presume it is right, the primes being given as output are also right, i have checked them.
  10. Replies
    26
    Views
    2,500

    Huge Array Problem

    I wrote this code for generating loads of prime numbers.


    #include<stdio.h>
    #include<conio.h>
    #include<math.h>
    void main()
    {
    long unsigned int limit=4294967294;
    long unsigned int...
  11. Replies
    9
    Views
    3,784

    Thx guys u actually genuinely solved a query...

    Thx guys u actually genuinely solved a query which i was banging my head for, I am from India and we have teachers with bookish knowledge so wouldnt expect an answer from them.
  12. Replies
    9
    Views
    3,784

    else printf("%f,x"); getch(); } If i do this...

    else
    printf("%f,x");
    getch();
    }
    If i do this it returns the value of x as 0.100000.

    As per ur link salem, i understand that the processor's registers and the memory store values differently....
  13. Replies
    9
    Views
    3,784

    Vart i do agree with the part of 0.1 being stored...

    Vart i do agree with the part of 0.1 being stored that way, but why is it so and even if it is so. If it stores 0.1 as 0.099999 or 0.1000001 then why does it not compare it also that way?
  14. Replies
    9
    Views
    3,784

    Floating Values acting weird.

    #include<stdio.h>
    #include<conio.h>
    void main()
    {
    float x=0.1;
    if(x==0.1)
    printf("If");
    else
    printf("Else");
    getch();
Results 1 to 14 of 14