Search:

Type: Posts; User: Eavan Hyde

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    1,229

    Hey, I too got confuse... But I think that it...

    Hey, I too got confuse...
    But I think that it might be like this:

    /* the 'next' struct is pointed to 'hashtab[hashval]' */
    np->next = hashtab[hashval];

    /* 'hashtab[hashval] = np;' points to...
  2. Replies
    16
    Views
    17,103

    I will try the recommanded methods. Thanks for...

    I will try the recommanded methods. Thanks for all the help guys, really appreciate it. :)
  3. Replies
    16
    Views
    17,103

    Hi Salem, appreciated the help. I was actually...

    Hi Salem, appreciated the help. I was actually trying out the use of void pointers. You see, i actually need to process a array in terms of int then char:




    int a[2] = {0,1};
    void *b;

    b =...
  4. Replies
    16
    Views
    17,103

    int a[2] = {0,1}; void *b; b = &a;...

    int a[2] = {0,1};
    void *b;

    b = &a;
    ((int*)b)++;
    printf("a's address: %p\n", b);


    Thanks guys, i know that the problem is about the incrementing b , and i tried
    ((int*)b)++; before but it...
  5. Replies
    16
    Views
    17,103

    typecasting void *pointers

    int a[2] = {0,1};
    void *b;

    b = (int *)&a;
    b++;

    printf("a's address: %p\n", b);
  6. Replies
    2
    Views
    1,005

    "Save as type" problem

    Hi all,

    Any of you have an idea on how to change the "save as type: " from "*.*" to any other format such as "*.bmp" under the "file" menu in MFC of a SDI.

    Tks
  7. Replies
    1
    Views
    1,191

    evc++ application

    Hi, i'm kinda new in window ce programming. I'm trying to develop a application that search and copy some files from the PC to a handheld PC (jornada) wirelessly and i'm not very sure how to go about...
  8. Replies
    1
    Views
    1,231

    ADO and ADOCE

    I have some experience in MFC but i have no experience on database. Are ADO and ADOCE compatible? Can a docked window CE-base devices use ADOCE to access an SQL Server running on a network?
  9. Replies
    3
    Views
    12,234

    thks. That works for my single file. I am using...

    thks.
    That works for my single file. I am using xlc by the way.

    However for my makefile, how should i go about adding that -lm?
    What does that -lm represent?

    My makefile code goes lik this:...
  10. Replies
    3
    Views
    1,017

    I am not too sure what you want but probably u...

    I am not too sure what you want but probably u can replace the part of your code with the loop with this



    while (x < 525) {
    answer += (x++ * y++) + 3;
    }


    x++ & y++ represents your...
  11. Replies
    3
    Views
    12,234

    Undefined Symbol error

    This is my test prog n my code goes like this



    #include <stdio.h>
    #include <stdlib.h>
    #include <math.h>

    int main() {
  12. Replies
    5
    Views
    1,815

    I was considering declaring variables in my...

    I was considering declaring variables in my header files because i have many variables in this program because it is a very large program consisting of many files(of which most of the files are...
  13. Replies
    5
    Views
    1,815

    Thks for pointing out the mistake. I tried it...

    Thks for pointing out the mistake.

    I tried it however my program still does not work. I am getting problems getting my object file. Is it because of the way i do my #include in my cpp files.

    I...
  14. Replies
    5
    Views
    1,815

    Help with making a Makefile

    I would lik to create a program in C/C++ running in Linux with multiple files, with 1 main file calling all my subroutines. There will also be a header file containing all my global variables that...
  15. Replies
    11
    Views
    2,583

    Actually u could edit the text file does that it...

    Actually u could edit the text file does that it does not have a newline at the last row, save all the problem.
  16. Thread: exe to txt

    by Eavan Hyde
    Replies
    7
    Views
    1,358

    characters and numbers shouldn't a problem, i...

    characters and numbers shouldn't a problem, i could encrypt a normal text file.
    i could also program it to take in bytes but i need to get the exe file to a txt file or a binary file.
  17. Thread: exe to txt

    by Eavan Hyde
    Replies
    7
    Views
    1,358

    Thank for the info bubba, i learn something. :)...

    Thank for the info bubba, i learn something. :)
    I need to encrypt exe file using my own encryption program that could only encrypt characters ( its lousy, i know ), so i was thinking of converting...
  18. Replies
    1
    Views
    1,676

    msvcirtd.dll

    I bulid a MFC program and brought the exe file to a computer without c++, but the exe file couldn't run, a error : "A required DLL file, msvcirtd.dll, not found".

    I read from the net that i need...
  19. Thread: exe to txt

    by Eavan Hyde
    Replies
    7
    Views
    1,358

    exe to txt

    How do i change a exe file to a txt file and then back to exe using c++?
    Sorry, but i'm totally clueless on how to do this.
  20. Thread: Button

    by Eavan Hyde
    Replies
    5
    Views
    1,320

    Yup, it works, thanks for the help guys.

    Yup, it works, thanks for the help guys.
  21. Replies
    8
    Views
    1,067

    I mean using a pointer variable to point to the...

    I mean using a pointer variable to point to the 1st character in the file then keep on pointing till end of file.
  22. Replies
    8
    Views
    1,067

    pointer in files

    There is a large text file for my program to read in then output on the screen, is there anyway to point to a character ( including space ) in a text file?
  23. Thread: Button

    by Eavan Hyde
    Replies
    5
    Views
    1,320

    Yup, i'm creating a dialog window, but i can't...

    Yup, i'm creating a dialog window, but i can't find the "return CDialog::OnOK();" line.

    Here's my code:




    // test4Dlg.cpp : implementation file
    //
  24. Thread: Button

    by Eavan Hyde
    Replies
    5
    Views
    1,320

    Button

    I have created a window a edit box and 1 push button.
    Is there anyway to make it so that when the user is typing in text in the edit box and pushes enter, the push button is pressed?
    I'm using MFC.
  25. Replies
    3
    Views
    1,107

    I use MFC, onbutton1 is the function of button1...

    I use MFC, onbutton1 is the function of button1 and BN_CLICKED.
Results 1 to 25 of 43
Page 1 of 2 1 2