Search:

Type: Posts; User: theju112

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. @Elvio Esposito dont worry mate... these sort of...

    @Elvio Esposito dont worry mate... these sort of idiotic comments are expected from some people here who were probably the wimps and nerds in their schools..

    This forum is used by them to reduce...
  2. Replies
    2
    Views
    1,317

    my gps project idea

    Hi Guys,

    I am trying to come up with interesting project ideas and recently been thinking of one ... i want to build a software that can be used to track the location of vehicles on google...
  3. Replies
    1
    Views
    1,856

    #include #include #define...

    #include <stdio.h>
    #include <string.h>
    #define SIZE 100
    int strip()
    {
    char s[100];
    printf ("Enter some string \n");
    //printf ("1\n");
  4. Replies
    5
    Views
    1,616

    tried out so many things but just couldn't avoid...

    tried out so many things but just couldn't avoid the run time errors and segmentation faults...

    so i chose java and it finally compiled..

    heres the code anyway: please move it if pasting java...
  5. Replies
    5
    Views
    1,616

    c++ code not compiling in online compiler?

    Hey guys,

    Its a bit urgent..

    please see the code below:


    #include<iostream.h>
    #include<stdio.h>
    #include<string.h>
  6. Replies
    6
    Views
    1,852

    while(fgets(a,sizeof(a),stdin)!=NULL) try...

    while(fgets(a,sizeof(a),stdin)!=NULL)


    try this
  7. Replies
    5
    Views
    14,046

    this site has one of the best tutorials you can...

    this site has one of the best tutorials you can get online..reading the tutorials on arrays strings and pointers will help..
    one thing i would recommend is to make sure that you have the exact idea...
  8. Replies
    5
    Views
    14,046

    there are many issues to be addressed here..but i...

    there are many issues to be addressed here..but i think that you have to learn a bit more on 2d arrays. and also on pointers..

    so ill paste your code and give you some hints as comments next to...
  9. I guess the problem was at #include I...

    I guess the problem was at #include<conio.c> I started using a new compiler : c free standard(developed by programarts.com) recently.

    so when i used #include<conio.h> and clrscr(), i was getting...
  10. This is a slightly enhanced version of my...

    This is a slightly enhanced version of my previous code..just added a few more spook effects that's all


    #include <iostream.h>
    #include <stdlib.h>
    #include<conio.c>
    #include<stdio.h>
    int...
  11. hey Im not able to send pms? so I am pasting it...

    hey Im not able to send pms? so I am pasting it here.
  12. first of all, thank you so much for putting up...

    first of all, thank you so much for putting up the contest. i was about to go nuts when i played the game the british corporation logos just made me feel that this was something done by extremely...
  13. Replies
    3
    Views
    6,242

    assigning char value to an int

    #include<iostream.h>

    int main()
    {
    int a;
    cin>>a;
    cout<<a;

    }
  14. Replies
    13
    Views
    1,497

    thanks

    thanks
  15. Replies
    13
    Views
    1,497

    cout

    cout<<endl<<"ENTER SIZE OF ARRAY";
    cin>>size;
    int input[size];

    cout<<endl<<"ENTER ELEMENTS OF AN ARRAY TO LIST THE NUMBERS IN IT WITHOUT REPITITION"<<endl;

    for(int...
  16. Replies
    13
    Views
    1,497

    @salemI am not sure if i get your point..elements...

    @salemI am not sure if i get your point..elements are added to the record array if they are encountered for the first time...initially the record array contains 0s only.
    the size of the record...
  17. Replies
    13
    Views
    1,497

    Sorry forgot specifying that the elements in the...

    Sorry forgot specifying that the elements in the input array can only be negative or positive integers..
    Apart from this anything else needs repair?

    also any logic for a better...
  18. Replies
    13
    Views
    1,497

    is there a logic error in this code?

    hey guys i have written this function to list the elements in an array without
    repetition. i.e if an int array with repeating elements is passed to the function,it should return all the numbers in...
  19. Replies
    5
    Views
    1,234

    initiaize E to zero(see line 6 in the...

    initiaize E to zero(see line 6 in the code)...otherwise some garbage value will be stored there..thats your problem i guess..my code works fine for 32..it gives 63...hit like if it works:p

    hint:...
  20. Replies
    5
    Views
    1,234

    #include main() { int...

    #include <stdio.h>


    main()
    {
    int p,N[100] = {0},d,c,E=0;
    printf("Input a number: ");
    scanf("%d",&p);
    for(d=1,c=0;d<=p;d++)
    {
  21. Replies
    8
    Views
    1,319

    ok sorry for the wrong info.

    ok sorry for the wrong info.
  22. Replies
    8
    Views
    1,319

    first you will have to declare a pointer of type...

    first you will have to declare a pointer of type FILE.
    then you will have to open the file using the fopen("PATH_to_file","access mode") function which returns a FILE struct, which can be assigned...
  23. Replies
    6
    Views
    1,060

    hey dude pls explain your question more clearly

    hey dude pls explain your question more clearly
  24. Replies
    25
    Views
    2,257

    #include int main() { int...

    #include<iostream.h>
    int main()
    {
    int a=10,b=200;
    bool result=a<b;
    cout<<result;
    if(a<b)
    {
    //some 100 lines code
    }
  25. Thread: simple check.

    by theju112
    Replies
    23
    Views
    2,525

    one way i can think of to reduce all the if...

    one way i can think of to reduce all the if statements are


    #include<conio.h>
    #include<iostream.h>
    int main()
    {
    int obama=0,romney=0,bank=0,answer=0;
    while(obama<5&&romney<5&&bank<5)
    ...
Results 1 to 25 of 92
Page 1 of 4 1 2 3 4