User Profile

Collapse

Profile Sidebar

Collapse
hacksign23
hacksign23
Last Activity: Jan 30 '09, 12:31 AM
Joined: Nov 1 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • hacksign23
    started a topic Get hWnd of main app
    in C

    Get hWnd of main app

    Noob Question:

    how do i get the hwnd of the main program?

    thanks
    See more | Go to post

  • hacksign23
    started a topic Varibles in Batch files

    Varibles in Batch files

    Okay, so I know how to make a variable:
    set bla = blabla
    but then i want to set it as a directory of "cd"

    so then if the directory was C:\WINDOWS,
    i want bla to = cd
    so something like
    set bla = cd
    but that doesn't work. any help?
    thanks
    See more | Go to post

  • hacksign23
    replied to Exiting a function
    in C
    oh yea that's right. thanks!
    See more | Go to post

    Leave a comment:


  • hacksign23
    started a topic Exiting a function
    in C

    Exiting a function

    what would i use to only exit the
    Code:
    	private: System::Void button1_Click(System::Object^  sender, System::EventArgs^  e) {
    if (this->textBox1->textLength == 0) {
    MessageBox::Show("fail!";"D:"; MessageBoxButtons::OK);
    exit button1_Click(??)
    };
    }
    See more | Go to post

  • hacksign23
    replied to Array Length with Integer Help?
    in C
    oh thanks! that worked.
    See more | Go to post

    Leave a comment:


  • hacksign23
    replied to Array Length with Integer Help?
    in C
    yea i'm using VC++ Express Edition 2008 edition

    andd.... please don't confuse me with "dynamic array or vector" because i started C++... about 3 hours ago. thanks.

    (a good example would be good enough)...
    See more | Go to post

    Leave a comment:


  • hacksign23
    replied to Array Length with Integer Help?
    in C
    Code:
     int q = this->textBox1->TextLength;
    				 int i = 1;
    				 int o[q];
    				 int a = 0;
    				 o[0] = 0;
    Form1.h(105) : error C2057: expected constant expression
    Form1.h(105) : error C2466: cannot allocate an array of constant size 0
    Form1.h(105) : error C2133: 'o' : unknown size
    Form1.h(112) : warning C4800: 'int *' : forcing value to bool 'true' or 'false' (performance war...
    See more | Go to post

    Leave a comment:


  • hacksign23
    started a topic Array Length with Integer Help?
    in C

    Array Length with Integer Help?

    Well I'm declaring an array with text length,

    so i did
    int i[this->textBox1->textlength];
    but that didn't work so i did
    int q = this->textBox1->textlength;
    int i[q];

    but neither did that work.

    any ideas?

    thanks.
    See more | Go to post
No activity results to display
Show More
Working...