- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
I love computers with all my heart. I also like cooking and movies. I don't like sports much but that means I'm not rooting for your enimy ether so no sas.
- Interests
- I am overly obbsesed with computers... Thats about it.
- PC Specs
- Windows XP SP3 Code::Blocks = C++ (For Win) Digital Mars Compiler Acsses to GCC No Internet everthing…
90 Posted Topics
Re: The speed depends on how well the code was written, in asm and C/C++. And to correct the above history to my understanding: People at IBM where sick of programing in assembly so they asked there bosses if they could make a more portable and convenient language: FORTRAN. Because most … | |
Re: I also believe eclipse has a ASM plug-in. I also think the code::blocks team is working on ASM compatibility. If you need a really light-weight one GNU NANO looks at the extention and does syntax highlighting, minix version of nano doesnt do that. | |
I Want To Make A Utility Like The Old DOS Command "rdisk" In C++. The Things I Want It To Be Able To Do Are: WIN: Be Able To Specify The Drive Letter (Like rdisk's /:Z) UNIX: Be Able To Specify The Mount Point (/mnt/rdisk or /media/somthing, etc) BOTH: Make … | |
My school has banned any system call (I even brought my own copy of command.com and cmd.exe) [B]but[/B] FreeDOS's FreeCOM still works (very well at that). Is there a way to make it that when I call the system function it makes the call to FreeCOM (Whitch will be bundled … | |
Im writting a very simple command-line. I want the > Charecter to come up every time a command ha finished what it's doing (easy) AND when the user presses enter with nothing on it. For example ($ is currssor) I want this: [CODE]> >$[/CODE] Not this: [CODE]> $[/CODE] How would … | |
Just want to see if there is a thing to turn oh "Test" to binary/base 2 stuff. This: [CODE]muffins = 12+16%2[/CODE] I think is sortof what I'm looking for but it chops of whatever's bigger than 2. | |
I'm trying to write an echo like thing doing this : [CODE]> echo Muffins Muffinst > echo two muffins two muffins[/CODE] The problem Is that the program isn't being started from command line, The > is my programs input prompt (trying to write a very simple command line) How would … | |
Re: My guess would be to have it check to see if it goes off the board eg: if(location == occupied) Try_Again(); or something. I know it's a long hard process (lots of typing) but it will be worth it. You will have to find your own way of doing that … | |
Earlier when I came here I had only a minimal set of utilities and a WinXP comp.. Now i'm here and serious, with kubuntu (and Internet!!!!) and willing to learn all of that dd, mov, eax, and bochs stuff. Here is my delemia: I have a C++ Program, have no … | |
I have been given a task to send a file (.odt) via e-mail using no external libraries (stuff that doesn't come with GCC on ubuntu) and not using .NET. Compiler: GCC/G++ (with limited access to ACK) OS: Kubuntu 11.10 32 Bit IDE (like it matters): Code::Blocks Help Point Me in … | |
When trying to cut down possible memory leaks in my program, I noticed a reoccoring pattern: Move Delete closer to new, repeat, remOve the function that uses it and move code to main, move a few things to global, replace some stuff with arguments and return values, and in the … | |
Re: From what you said was command prompt I guess your on windows; If your compiler makes a file with the .bin then find it's website and see about how to make it a exe. | |
In my program (not the compiler) how would I implement a 'tag' system, for example : dpkg [B]-i[/B] hello I am not skilled enough to go through gcc's or dpkg's sources so sone help would be nice. | |
Is it possible to make an array of doubles like a c-style string to make a bigger number? Or is an array of chars a special thing to a compiler? | |
Im Talken About The Basic (As in Simple not BASIC) DLL not Win32/OS/2 Kind. I Want The Dlls for the program to be in the 'bin' Directory thats is in the same folder as the .exe. Is there a simple (Not Moving Kansas) way to do this? | |
What would happen if I (somehow) made an enum bigger than unsigned int? Each item in one is assigned a numerical value, I'm guessing that is unsigned int. Would it be boring like an error message or fun? Knowing what's allowed with naming the values there is more than enough … | |
I want my program to not rely excessively on external stuff as possible so could someone help/point me in the right direction to hand writing a .wav codec? Or whatever codec would be the easiest. Sorry I was gone so long, family. | |
I want to make a program that makes and extracts tar files from scratch a other sit said that using wikipedias specifications it's easy but I don't know how to do half that stuff! Like makeing the thing to the right size moving where it writes and reads to. Making … | |
I am making a staid lib that does some simple math but whenever I go to do something in time_t, time64_t, or bool it gets a "expected ; before FUNCTIONNAME." how would I use time_t, time64_t, and bool in a static lib? | |
well here is something interesting: How many calculations, math, movements, assignments, can I do in the glbal area? EX: [CODE]Header/using blah int vap = 7; int pav =2; int sasd = 0; (sasd=(vap*pav));[/CODE] Would the last line work? Or do I have to declare a vareable to do any math/calculations? … | |
Ok my complex fortran program has an error on this line: [CODE]MON=HOLD-TRANS(reg:rag)[/CODE] With an error Of: Incompatible rank asinement of (0/1) My usual hack with file io make fortrans oldest feature, speed, toast. Help :( Edit: oh yagh: Mon is complex Hold is complex Trans is real | |
Well really simple: I want to compile for my Pentum 4 and not a WIN32 Console App. What tag/thing would I use for this? | |
I want to get unix time in my program, google just brought up how to get time on a unix system (I'm on a dos/windows system). Is there an easy (can fit in less than 20 lines of non-system dependent functions and without any API or WIN32 [unless simple] functions) … | |
I need to read one wide Charecter(wchar_t) from a file once but it says: "ambiguous overload for 'operator>>' in 'WER >> mont' The part that also confuses me is that it writes the Charecter just fine. It is only one Charecter not a string if that makes a difference. Thanks. | |
Here's me error:"invalid conversion from 'char*' to 'char'. This is much different than what I found on google because I'm using actual pointers not return values n' stuff. Well heres a watered down version of the code: [CODE]char* LOCK = new char[501]; char ret[501] = "this is fine in program"; … | |
Well I want to make a DLL but all of the tutorials online seem to focus tword GUI programing or go a little too fast. Can anyone explain it? As far as I have seen it's syntax resembles resource files. And what makes it a '[I]Dynamic[/I] Link Libray' as in … | |
I already know how to call a program an make it run inside of my program (with no communication between the two). But I need a way too call a separate program from mine and have it run separately. I looked into the CreateProsses thing but it seems to be … | |
Well simple really: Is there any header, libray, dll, etc. that defines Infenity in any way? | |
After trying to start writing my long paper "Programing, The Art" I noticed that, getting user imput, conditional statements, using escape charecters, exicuting system commands, and even declaring variables and using them so that they have use; these are all difficult outside of the domain of C and C++, even … | |
Well its simple: I'making a group of programs that use one file for settings, however not all settings are used for all programs so instead of making another variable is there any way to just throw, let's say the first line to null read the second line feed the third … | |
Ok this comes as two questions: what is the best variable for storing bianary data and how would I send That through a XOR gate? When I searched it didn't really do anything because XOR is a binary operator. I remember how to open o file in binary form from … | |
Re: I think the reason that there are no Marco/#Difine stuff is because iostream is a library not a header file so it doesn't contain any real code... But from the talk it must be in code somewhere... As some extra information I thin the word 'cout' means "Charecter(s) Out" | |
Ok pretty simple: How to make internal speaker beep on Linux. For personal use does not need to be portable. I know I have an internal speaker... BIOS loves that thing... | |
Re: It depends on what, if you want to manually write a program to flip the letter per plase each time (ex time miet, qwer ewrq) than arrears are where to go, also if you want to use it with q filename use arrays, strings would be harder to work with … | |
I know it is possible my bootmanager's installer nagged me abou it. How do I tell what bitness and mode it is I ? (ex: 16bit real mode,16bit protected mode, 32bi protected mode, 64bit long mode, ect) | |
I was going through all of the tags gettn' used to my fresh DM compiler (love it) and in optimization there was a rather long tag called 'expensive optimization' Th DM website didn't have anything and google just brought up car engines. What does it do? | |
Ok here it is: I want to read a file backwards, the catch is that I want to do this in binary mode to make a, really lame, data encryption program. Is there any easy way (<10 lines) To do this? | |
Re: Well as I don't expand gigantically I use backdoors. For example when you ask for imput increment number and have a if setup to subtract one from number if what the user entered is 0. Ex: [CODE]cin>>tacos; number++; if(tacos==0){ number--; }[/CODE] please make sure this if is seperare from the … | |
Re: You might néed to specify the part of the array your getting from Ex variable[0] would send it to the address zero in the array. | |
Well I noticed recently that the more unusual bool operators arnt there. How would I use them? Ex: xand, NAND, nor, etc. | |
When on the digital mars website he advertzed that their compiler could use all 80bits of a 32bit machine. What the heck does this mean? | |
Re: You could use arguments and return values. Ed: [CODE]int tacos(int muff){ return muff; } int main(){ int cre; int cfr=5; cre=tacos(cfr);[/CODE] This also works in D. I actualy had no idea that I could use return vales like that. It's actualy not that hard, when making a function inside the … | |
Ok simple question. Google didn't bring up much and I need this. This is the question: How do I interact with non-text files in a simple console app? | |
Re: I guess an array of longs might help (like a c style string) it would increase the total size Iitcould store. Wired I just asked my math teacher what the fibinatchi series was today... | |
Re: When reading a book written by Microsoft it said that you should learn wu programing along with COM because if all you learns was COM there would be massive holes in your knowledge. Just wanted to put that out there. | |
Re: You have no condition for inData. Your telling it to just cheak inData you need a comparison. Eg != or == or > or <. Also I'm no sure use can use a ifstrem variable for that. Woo 100th post man! | |
Re: Well you could setup something like this : [CODE]ifstream qwer ("p.txt"); Int number; String paragraph; qwer>>number; getline(paragraph, qwer); // repeat for each line of paragraph with amend on or with a different variable ll[/CODE] The advantage of using amend is that you could just send it throug a loop instead … | |
Ok when I use gcc (all th time) the program it makes in c++ with debug on is around a megabyte when off it is around half a megabyte when working with c with debug on it around 50 k with it off it's at about25 k this doesn't seem … | |
Ok I'm working with a program that uses addresses and with all of the Interesting charecters (. / \ and spaces) I need tO get a line of characters. I know how to do this with ifstream but how would I do this with plain old cin? | |
well it sounds simpler than OpenGL... I want to use DOS style graphics in my prog (look at SC2000) no need for animation or interactivity or PostPicture(). So the queston is what header/librays do I need and how do i use it? Google just brought up stuff on makeing your … |
The End.