Search Result

Collapse
3 results in 0.0014 seconds.
Keywords
Members
Tags
dev
  •  

  • w3nDiGo
    started a topic Expected primary-expression before "else"
    in C

    Expected primary-expression before "else"

    Code:
    #include <iostream>
    #include <string>
    #include <stdlib.h>
    #include <stdio.h>
    #include <windows.h>
    
    void goTo (int x, int y){
             HANDLE hConsole= GetStdHandle(STD_OUTPUT_HANDLE);
             COORD pos;
             pos. X=x; 
             pos. Y=y;
        
        SetConsoleCursorPosition(hConsole, pos);
    }
    using namespace std;
    ...
    See more | Go to post
    Last edited by Banfa; Mar 19 '12, 01:08 PM.

  • a27skace
    started a topic Console flashes when ran.
    in C

    Console flashes when ran.

    Hey,
    I am an extreme newbie and when I run my code after compiling it, the cmd just flashes and closes. Now, I know that it is flashing because I haven't paused it but using script like getch() that is prior to return; will not work for me as this will stop the script all too soon. So far this is my code:


    #include <iostream>
    using namespace std;
    int change(int,int, int);


    int...
    See more | Go to post

  • sassy2009
    started a topic mount device

    mount device

    Hi all,

    im trying to mount a SATA drive. I have a drive already connected to the system as /dev/sda1. The second drive that i have connected now should be /dev/sdb if im not wrong. I havent formatted this drive so it shows up on the desktop as mass storage. So i wanted to format this drive to EXT2.I tried the "sudo fdisk dev/sdb". It says unable to open dev/sdb. I tried with GPARTED and formatting the sdb and it works. Why...
    See more | Go to post
Working...