I have written a bootloader in ASM (I can post code if you like) and I plan to write a kernel in C /c++ because I don't want to have to deal with a Kernel written ENTIRELY in ASM. Is there any way (Got to keep this under or at 512 bytes) to allow the bootloader, written in ASM, to pass control (like call a method or something) to the C kernel? I'm a newbie to this kind of thing, and I thought I would ask the pros. Please be nice, this is my first post! :icon_cheesygrin:

Member Avatar
Member Avatar
+0 forum 9

Hi guys, I have written a program which currently accumalates different pairs and their frequency from an excel spreadsheet. (1280 pairs) Want I want to achieve is from the top 20/30 pairs, if I can find pairs that link e.g. Pair 1 [1,33] and Pair 100 [1,232] so i would expect that to be a link. With that link i want to be able to merge it so the the value becomes e.g. [33,1,232] before continue to find any more. My find outcome should be a set of 10 numbers which are linked together by thier pairs. Anyone one have …

Member Avatar
Member Avatar
+0 forum 3

# Introduction # A recurring problem many newcomers face when tackling C++ is the compilation process, from sources to binaries. This tutorial will detail that process. It will be especially useful for people only familiar with higher-level languages (if any), but veterans of one or more native languages (C, Fortran, C++, D, etc.) might still learn a thing or two. And to that point, I would also mention that conceptually, most of this tutorial applies to any native, compiled language. For widest applicability, this tutorial will feature GNU tools (GCC) used in a Unix-like environment (POSIX). For Mac OSX, the …

Member Avatar
Member Avatar
+11 forum 2

Hello guys I have to make a test enviroment with two computers that both have VS2010 and Intel MPi installed. I finished installing the system today and I am trying to test it. Specifically I am trying to integrate the MPI library to VS. I have added the lib and include directories and during coding the IDE doesn't display any problems. When I try to compile though I get an "unresolved external symbol" error. The code I am running is a test case provided with MPi so it shouldn't have any errors. Thank you in advance

Member Avatar
Member Avatar
+0 forum 2

Hi All, I'm trying to connect to a mysql database using the MySQL Connector from Oracle. I'm hitting my first issue of linking the libraries and was hoping that someone could nudge me in the right direction. What I have done so far: Downloaded mysql-connector-c-6.1.3-osx10.7-x86_64.dmg from http://dev.mysql.com/downloads/connector/c/ In XCode, in "Build Settings" for my project, changed; Header Search Paths to: /usr/local/mysqlConnector/include and changed; Library Search Paths > Debug to: /usr/local/mysqlConnector/lib which changed the part above (next to the "Library Search Paths" text to "<Multiple Values>" (greyed out) Also, in the "Build Settings" I changed; Linking > Other Link Flags to: …

Member Avatar
Member Avatar
+0 forum 1

Hi, I need to link a library you can download from producer's site (http://www.dahuasecurity.com/download_3.html) to my c++ project. The library is named General_NetSDK_Eng_Windows64_IS_V3.40.2.R.130321.7z. I tried to: * Linker->Input : added to addidiontal dependencies lines: dhnetsdk.lib dhconfigsdk.lib * Linked->General : added to additional library directories a "D:\dahua\" directory which includes files dhnetsdk.lib, dhnetsdk.dll, dhnetsdk.h and dhconfigsdk.lib, dhconfigsdk.dll * C/C++->General : added to additional include directories a "D:\dahua\" directory I included files by directive #include : dhnetsdk.h and dhconfigsdk.h. I also copied all library files (.lib, .dll, .h) to my application source code direcotry and debug directory. Unfortunately I still get errors …

Member Avatar
Member Avatar
+0 forum 4

i have some problem about link the library to executable. i tried to statically linking but when i create the .a file i always failed, what i want to know is there any way for the exe look up into current directory instead of the system if i has all the depedency. Hope someone has some experience on it, thanks for the attention

Member Avatar
Member Avatar
+0 forum 2

I have a login scrip (downloaded from the internet) that I have adapted to my database. I However have a problem with linking from the login to a page in my system with details of the user that has logged in. The users table on which the login system is based has the following fields id` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(18) NOT NULL, `first_name` varchar(32) NOT NULL, `last_name` varchar(32) NOT NULL, `gender` varchar(15) NOT NULL DEFAULT 'undisclosed', `bio` text NOT NULL, `image_location` varchar(125) NOT NULL DEFAULT 'avatars/default_avatar.png', `password` varchar(512) NOT NULL, `email` varchar(1024) NOT NULL, `email_code` varchar(100) NOT NULL, …

Member Avatar
Member Avatar
+0 forum 2

hey everyone, actually i am creating a website in which data is queried from mysql. in mysql table one of the attributes is in form of hyperlink. When i am displaying the result it is in normal text but i want a hyperlink as the result is displayed so please help me. Example <?php echo "Please enter a genename"; $Genename = mysql_real_escape_string($_POST['name']); $ID= mysql_query("SELECT ID FROM database.nodefinal WHERE Genename='$Genename'"); $ID = mysql_result($ID, 0); echo "gene ID= $ID"; ?> but id is a webaddress so i want the result such that when i click on the id i can reach the …

Member Avatar
Member Avatar
+0 forum 8

hey please help me actually i have used the command as part of program <?php echo "<a href= echo '$Geneprocess'>$Geneprocess</a>";?> getting a hyperlink bt when i am clicking over it it gives an error for all the hyperlink.... the error is Object not found! The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error. If you think this is a server error, please contact the webmaster. Error 404 localhost Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 so please tell me where am …

Member Avatar
Member Avatar
+0 forum 8

Hi, I have a question.I have a folder called Web Site.Inside it I have 2 folders n.1 and n.2.Inside folder1 I have a page called index.htm.Inside folder2 I have a page called home.htm.How do I link index.htm with home.htm and viceversa? I appreciate your help thank you.

Member Avatar
Member Avatar
+0 forum 6

A friend sent me his website coding he did in iweb on his mac and wanted me to upload it to my hosting. The navigation links don't work and I have no idea what the problem is as his coding is completely all over the place and horrible and any time I try to change the coding the website doesn't show up correctly. As it is the website is horrible; however, if you can check it out and see if you know what the problem is in the menu links I'd greatly appreciate it! Let me know if you can …

Member Avatar
Member Avatar
+0 forum 4

Profile linking is one of the ways by which you can link back to your site. It involves adding your website URLs to the personal, professional, or business profiles that you create on various websites. You can sign up as a user or member on forums, social media sites, and other kinds of membership sites. Many such sites allow you to include your website URL on your profile, as well as insert links into your signature, comments, or updates

Member Avatar
Member Avatar
+0 forum 5

**Bold Text Here**hi, i need some help. i ave written the code for different forms of an applet in swings, but i am not able to open another form by clicking a button in on form. for eg when i click the registration button it should open the registration form. please hlp me how to do this. thankyou.

Member Avatar
Member Avatar
+0 forum 1

So, I just did a fresh install of ubuntu 11.10, and am in the process of reinstalling gsl. For some reason, my old make file seems not to work, and am trying to figure out how to change it. Last time I had a similar problem, people in here were very helpful in figuring it out, so I've got my fingers crossed :) The call to g++ is: [CODE]g++ -Wall -lgsl -lgslcblas -lm -L/usr/lib -I /usr/include/gsl -o main main.o neuron.o network.o synapse.o dataAnalysis.o [/CODE] Resulting in: [CODE]neuron.o: In function `neuron::updateSpikeTime()': /home/kaare/LIFnetworks/neuron.cpp:123: undefined reference to `gsl_root_fsolver_set' /home/kaare/LIFnetworks/neuron.cpp:131: undefined reference to `gsl_root_fsolver_iterate' …

Member Avatar
Member Avatar
+0 forum 5

Hello, I just need some help with linkedlists in C#, linked-list in C++ is kinda easy with pointers but im facing some problems in C# I read the examples provided on http://msdn.microsoft.com but I couldn't figure out how to link two different linked lists the efficitent way seems to be having LinkedListNode into a linked list , so lets say I have two linked lists LinkedList<String> L1 = new LinkedList<String>(); LinkedList<String> L2 = new LinkedList<String>(); and then lets say I have the following nodes LinkedListNode<String> Ln1 = new LinkedListNode<String>("Orange"); LinkedListNode<String> Ln2 = new LinkedListNode<String>("Banana"); LinkedListNode<String> Ln3 = new LinkedListNode<String>("Apple"); LinkedListNode<String> …

Member Avatar
Member Avatar
+0 forum 3

I heard about the cross linking, but what is the use of it??? whether it will be useful for link building??? If any of you know about that, kindly share to us.

Member Avatar
Member Avatar
+0 forum 14

I recently added a Twitter button to provide an easier method for our readers to follow us. At first, everything seemed to work perfectly fine and positioned finely. Yet, I've realised that the text on our pages are linked to the twitter link. This is totally unintentional and am unsure why. Our pages are: [URL="http://yourthirdspace.com/about"]About[/URL] and [URL="http://yourthirdspace.com/yourthirdspace-team"]YOURthirdspace Team[/URL]. Thanks in advance.

Member Avatar
Member Avatar
+0 forum 4

Hi, in a given c program where you have [CODE]myvar = sumR(char * arg1, int arg2)[/CODE] sumR is a function in an assembly .s file. I have done all the calculations, but I have no idea how to return the value to the calling c program. Any ideas? Thanks so much.

Member Avatar
Member Avatar
+0 forum 3

I'm working on an assignment and now that I've finished I'm supossed to write a tester file to demonstrate how well the program works. While writing it I was just testing in a main file within the library itself. Now I'm getting an invalid pointer error when I try to link the testerfile (and I REALLY hope that's just because I'm linking the files incorrectly); Anyway here's the structure that I have so far. libraryfile.h libraryfile.c testerfile.c testerfile.h library file.h is setup with declarations for the library .c file as such: [CODE]extern int functionX(args);[/CODE] How do I setup the testerfiles …

Member Avatar
Member Avatar
+0 forum 1

Hi, i have a login page which i designed in dreamweaver. When i connect my php to the dreamweaver everything is ok. Here i need help when i press on my login button, currently when i click it, it takes me to another blank page and says login successful. But i do not want this to happen i want something like a pop up message box that says login successful while i still stay on the same. Once i click on ok on that message box i can interact with my page. Is there a way to do that ?? …

Member Avatar
Member Avatar
+0 forum 2

Probably a simple mistake of not knowing all tags and attributes involved. I have a HTML page linked to a CSS file (I know it works, cause I can change things like background, and heading size, etc). When I try to create a navigation bar however using [CODE=css] #navigation { position: absolute; top: 0; right: 0; width: 10em; } [/CODE] all my stuff is still just listed vertically (with the things not in the <div id="navigation"> tag). I've found that if I copy and paste the information into the <style> tag of the HTML head the output works correctly. However …

Member Avatar
Member Avatar
+0 forum 4

I am taking a data structures class and we are using the standard gcc compiler on a unix system. This is fine and I have no troubles using it, but I would like to begin using an IDE for my labs. I am trying Visual Studio 2010 Professional with my .c files and am able to get very simple programs to compile and execute, however the current lab I am doing requires me to first compile the .c file into a .o file before linking it to another .o file using gcc filename1.o filename2.o -o filename. From what I understand …

Member Avatar
Member Avatar
+0 forum 2

hi please solve my problem i am getting linking error in following program. i am using devc++ for copilation linking errors: C:\Users\shiv\AppData\Local\Temp\ccaMbaaa.o(.text+0x286) In function `ZN4list7delnodeEi': C:\Users\shiv\AppData\Local\Temp\ccaMbaaa.o(.text+0x286) In function `ZN4list7delnodeEi': [Linker error] undefined reference to `list::search(int, Node**, Node**)' C:\Users\shiv\AppData\Local\Temp\ccaMbaaa.o(.text+0x62c) ld returned 1 exit status [CODE]#include<iostream> #include<conio.h> #include<string.h> using namespace std; class Node { public: int roll; char name[50]; Node * next; }; class list { Node *start; public: list(); //constructor for initialisation int addnode(int x); //function for addinng nodes in the class bool delnode(int y); ///for deletion bool search(int roll,Node **current,Node **privious); //for searching bool listempty(); //function to check weather stack …

Member Avatar
Member Avatar
+0 forum 6

Hey all! I've been working on a website but have been having a bit of trouble with dynamic linking using php. I've tried (and failed) with different methods to get it working but i need the help of some very talented coders :) I currently have a webpage which extracts info from a database using mysql, and i would like to link the outputted info to another page which dynamically changes content based on the link. (Each link has different information associated with it) To simplify, lets say i have 2 pages - stuff.php and info.php In the stuff.php file, …

Member Avatar
Member Avatar
+0 forum 5

Ok so i have a template script my friend built for me. I'll include all file names OK so what is not working is file_get_contents is not grabing the content (1 I don't know where the content should be placed and 2 i want it placed in a directory so that IF i change the template the area where content stays is the same. I'm trying to get file_get_contents to load the links ?=about ?=services etc to load in to body.tpl in the contents div please any help is apperciated. <file.class.php> [CODE]<?php $file = new file(); class file{ var $path …

Member Avatar
Member Avatar
+0 forum 5

Hi, i'm trying to create a program so i can log every person I meet, which i have done quite easily with databases. However i would also like to be able to log each time i meet that same person which is where i can't figure out what to do. T would seem to me like i would need two databases, one for the personal information, name, country etc and another for each time I meet them. I Have been unable to do this and ask if anybody can offer me suggestions?

Member Avatar
Member Avatar
+0 forum 6

The End.