I suppose I should have done more research before posting..
pointers, duh, I am an idiot..
Thanks much for the help,
Type: Posts; User: emus21
I suppose I should have done more research before posting..
pointers, duh, I am an idiot..
Thanks much for the help,
It is as follows..
int my_function(MY_TYPE mt)
{
mt = get_data(); // A custom function that assigns the variables of mt from a file No need to post that code, it is irrelevant to what...
I know this might sound stupid, but I want to use a function to assign my own data type..
#include <stdio.h>
#include <stdlib.h>
typedef unsigned char byte;
typedef struct {
Sorry, my bad, I should have looked more closely, I'll have to check that out, thank you for the info.. And sorry for my inefficient browsing skills.. no sarcasm, it's the truth.
No problems there, I am programming a DOS Application using Borland C++ 4.52, 16 DOS,,
I dislike the newer version of the MS Windows OSes, they are
so "User Friendly" it keeps a person used to...
If it is a hardware interupt that can't be trapped then how does
DOS trap it ro restart the computer
or
Windows trap it for the task manager and/or restart
or
I need to know of a way to trap Ctrl Alt Del in DOS, without restarting the computer,
I am currently using a simple getch() function to access 2 byte keyboard codes but when I hit SHIFT, CONTROL,...
Microfiend,,
filedat[i]=(char)(((int)filedat[i]) + 5);
This is exactly what I needed to know, it works great, thank you very much, I didn't know you could change each individual char...
You know, you don't have to rub it in my face that I don't know EVERYTHING there is to know, Master....
Everyone else, thank you for trying to help me.
It is greatly appreciated.
I am currently having problems making my basic prog a cpp prog.
Here's what I am trying to do.
Step 1) Read a string from a file.
Step 2) Read the string character by character.
Step 3)...
Does anyone have a link or two to a good graphics library that works with Borland C++ 4.52
also, I need help in figuring out how to capture mouse movements, clicks, and so forth. If there is a...
I designed this to fit what I wanted to do, I like editing code myself rather than having something do it for me. I also included a quick link to a tutorial site that has tuts for HTML, JavaScript,...
Here is the source code, in a zip archive.
contains 4 files
main.c ----- Main Program Code
main.h ----- Containing the history file access functions
main.rh -----...
I'm not sure what MFC is,, if it is a part of the Win32 API, maybe,
but I think it is just plain Win32 API.
I am looking to create a product to sell, but I figured I would post it here to get...
I wrote this program for web developers and I figured I'd post it here and see what you thought of it. Also, I welcome ideas on making it better, not that I want anyone to write it for me, but it...
Thanks much, i'll check it out.
Emus21
I currently use mdi client windows to achieve a multiple file editor,
I wish to make one that switches file using tabs. Is there a tutorial on the web that deomonstrates the functions and commands...
Thanks much, I'll try them.
Maybe you could sweet talk Nullsoft into letting you use there source code to make your own program, I doubt it, but it never hurts to ask.
A console windows program is almost like a MS-DOS Program.
In order to create a Window, you need the following code, just to
make a basic window.#include <windows.h>
#include <windows.h>
/*...
Try BloodShed Software's Dev C++,
http://www.bloodshed.net/devcpp.html
Download version 4, cuz version 5 is beta, and has a few bugs.
but that is the IDE I use now, and I don't have many...
My bad, I misunderstood what was going on.
If you don't want to start a new project you can
Load you source code file.
Click Options >> Compiler Options
Click on the Linker Tab.
In version 4 of Dev C++
click "Project" >> "Project Options"
under Project Type
make sure the
Do Not Create Console
Is it possible to add menuitems during runtime using commands at runtime.
If possible what is the function I should use to do so.
Any response is greatly appreciated.
Emus21