- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
I'm a 17-year old programmer. I first started with programming more than 2 years ago in C#. Later, I changed to Linux and C and I'm today writing software that has to do with lower-level actions (related to assembly or hardware)
- Interests
- Computers, Programming, Guitar, Heavy Metal
- PC Specs
- OS: GNU/Linux with GNOME
Hi! I'm working on a hobby OS. Almost every time I try to link my files I get a 'undefined reference to' error. As I've been trying to compile with different compilers, the errors generated by the linker changes. I have only been using different ports of the GNU compilers. … |
|
Re:
Hi! I'm new to assembly coding and I have an assignment in Intel/AMD where I'm supposed to code a file that consists of different subroutines and another file that produces the code to take care of. But first, as a start, I think I have to start with small pieces … |
|
Re:
I can't get my pointers in assembly to work, I'm using nasm and trying to use pointers in real mode with 16-bit registers. Here is my code: [CODE] mov di, Pointer mov ah, 0x0e mov al, [di] int 0x10 Pointer: db "W" [/CODE] This code should print out the character … |
|
Re:
when would i ever/when would it be a good idea, to ever explicitly use __int8 nSmall; // Declares 8-bit integer __int16 nMedium; // Declares 16-bit integer __int32 nLarge; // Declares 32-bit integer __int64 nHuge; // Declares 64-bit integer over regular int?? in your program |
|
Re:
[CODE=c]#include<stdio.h> #include<stdlib.h> #define GREY 1 #define BLACK 0 #define WHITE 2 typedef struct node * graph; typedef struct stack * snode; extern int stack_counter; graph cnode(int data); //cnode is to create a node for graph void cgraph(void); struct node { int data, color; struct node *LEFT, *RIGHT, *TOP, *DOWN; };//this … |
|
|
Re:
guys i need a assembly x86 compiler..in windows i use MASM615..i dont want to code on windows.i do all my coding in java and C..on linux pleas some help for asm compile on ubuntu 10.10 . |
Re:
My task was to create a program that would copy a file. Ok, didn't look too hard using the textbook and class notes, heavily borrowing from the textbook. However these 2 errors have me stumped. invalid instruction operands segment, group, or register expected. The first one refers to this: mov … |
|
Re:
Hey everyone. I have a problem with 2 strings i need to compare. My code is the following [CODE] if((*(fixedparkpnt)).name == pname) { //do stuff }[/CODE] I am trying to make a search proceedure based on a name given by the user but the condition is always false. I have … |
|
Re:
Hi, One of my assignment questions is to write a program to illustrate external storage class, extern variable,global variable and thus write the differences between global variable and external variable. My program : [CODE]#include <stdio.h> extern int i; int main() { printf("\n%d",i); inc(); dec(); getch(); return 0; } inc() { … |
|
Re:
[code=c] printf("\nn = %*d", 5, 4); [/code] and the output is: [code]n = 4[/code] (yea! there are spaces between = and 4) if i am providing only one argument 5 instead of 5 and 4 i get an error stating too few arguments. What in the world is the "*" … |
|
Re:
hi there. i ve just dwonload NASAM compiler bur couldn able to install it on my sytem as i couldnt find any intall.exe file in it and i'm usig XP home edition [B][I]so anyone could tell me how do i install it if it thru CMD than plz code of … |
|
Re:
Hi Ladies and Gentlemen, Some of you may remember may, while some may not, because I wasn't that famous with you guys. So let me introduce myself before I introduce my problem. That would create a base for you. I am Shikhin Sethi, a 12 year old programmer, with expeience … |
|
Re:
I am trying to create a cpp file that will enable user to download the content from a web URL & stored it to a desired html file. I am running on Linux. The program will call GNU wget CLI program to grab the content & stored it to a … |
|
Re:
Is it possible to search for a term within a string and output the result either 1 (True) or 0 (false)? e.g; [CODE]string str = 1234567890 if (str.contains = "456") { MessageBox.Show("True!") } else { MessageBox.Show("False!") }[/CODE] I know I can search for [I]individual[/I] chars but I want to be … |
|
Re:
I unable to install all .exe files in ubuntu with wine. Can you tell any software required for install .exe with wine |
|
Re:
[code=c] #include<stdio.h> main() { int a=5; printf("%d,%d%,d",++a,++a,++a); } [/code] the output of this is 8,7,6 instead of 6,7,8 y it is so... |
|
Re:
Hello, So I am just starting to really use Make files in Linux, and I am getting the following error when I try to "make": c++ -c main.cxx In file included from main.cxx:2: LinkedList.h:39:26: error: LinkedList.cxx: No such file or directory make: *** [main.o] Error 1 Here is my make … |
|
Re:
[COLOR="blue"]Good morning All I have a customer who has an old DOS application which he wishes to continue running on his new laptop with Windows 7. The software installs correctly and starts to run. Soon after starting it appears to issue a command to switch to full screen mode, at … |
|
Re:
Hey guys, I am not sure where this should go but seems as gOS is a Unix like OS this seemed suitable. Anyway all i wanted to know is where i can access and use the Google Chrome OS.? Thanks, P-Geist |
|
Re:
I am getting many many warnings of this kind in my code. It comes every time I typecast something in my code, which I am doing to variable addresses in order to use integer arithmetic on them. How do I fix these warnings? Thank you! and warning is : send_serv.c:78: … |
|
Re:
Good afternoon, i'm getting an error when I compile "undefined reference to 'TestScores:theAverage(int *,int)" I'm not sure what the compiler is telling me. Any assistance is welcomed. Art header // this is the header file for class TestScores #ifndef TESTSCORES_H #define TESTSCORES_H //this idea with this class is to take … |
|
Re:
Hi! I'm pretty new to C and have to write something that handles strings. I have some experience with python and C++ but i find C string handling pretty strange/ugly. Is the following code really the best way to put together a string containing multiple strings? [CODE] strcat(string1, string2); strcat(string1, … |
|
Re:
How Can I use Clear screen and jump to next line?? like for example. press enter y for yes and n for no to proceed to next line and next screen. |
|
Re:
Hello, Web programmer in need of some windows app help. I have a simple little program that copies files from drive X to drive Y, and dumps the success/failure messages into a multiline textbox. The problem I'm having however is that the textbox does not update until all the copy … |
|
Re:
i want to connect SQL server in C# application plz help how can i Connect DB in C#??? |
|
Re:
hi guys, im creating this contact form code, apparently its having error as below [Parse error: parse error, unexpected '"' in E:\wwwusr\vhosts\ceriategas-premium.com\httpdocs\test3\send_contact.php on line 6] ive checked the line 6, but i cnt find the errors... do help me please... [code] <?php if (isset($_POST['submit'])) { // Collect variables $subject="$name"; $message1="$coname"; … |