199,114 Archived Topics
Remove Filter ![]() | |
Hello, I'm trying to pull data from multiple tables in a single mysql_query and I'm having trouble displaying the data that's pulled. Here's what I've got so far.. the highlighted code is the part that doesn't work. (sorry in advanced for the sloppy code.. i've been copying/pasting stuff all over … | |
I have compiled a project with "Build Solution" in VC++ 2008 Express Edition wich have worked fine all the time. Suddenly without doing any changes nowhere after the last F7 (1 minute ago), I do get this Error message: [B]1>Linking... 1>LINK : fatal error LNK1104: cannot open file 'E:\Documents and … | |
I am designing a bank system Soon as the user opens the display the welcome message alone with all the latest offers are displayed without any input. afterwards the user is given 4 set of instructions for example: enter 1, 2, 3 or 4 to display the 1. Display balance … | |
hi , i have an doubt in c#. i have not much knowledge in C#, i do't know how create the dynamic object for the class using C#. i have two class member class Operation class different member are have same operations. so i do't know how to create the … | |
Hey Guys, I'm trying to do a basic line graph here, but I can't seem to figure out how to adjust my x axis. [CODE]from pylab import * plot ( range(0,10),[9,4,5,2,3,5,7,12,2,3],'.-',label='sample1' ) plot ( range(0,10),[12,5,33,2,4,5,3,3,22,10],'o-',label='sample2' ) xlabel('x axis') ylabel('y axis') title('my sample graphs') legend(('sample1','sample2')) savefig("sampleg.png",dpi=(640/8)) show()[/CODE] And here is the … | |
First, I'd like to say that this IS a school project. I'm not going to try to hide that. Anyway, I was provided with this c++ code: [CODE] #include <iostream> using namespace std; //----Prototypes------------------------------------------------------ void CmpTest( char *buffer1, char *buffer2, int size ); int MemCmp( char* mem1, char* mem2, int … | |
Hi experts, I have a question on generating a hashtable which contains only unique numbers. Can anyone help me out. My code is here. I want to check if the key and value are in the hashtable or not. if they are in the hashtable i break to start generate … | |
can someone show me an example of how can I use SFC_CALC_SIGNAL_MAX in C++ | |
Learning about all functions in <iomanip> and was testing out setprecision() and found that something weird is going on...? I did try to do a search on setprecision() limitatations or similar keywords but can't seem to find the right site... can someone please tell me what's going on? [code] double … | |
In my program theres a form where the user enters the ID number and other details of a customer. i want the program to be able , If the ID number already exists when the user enters it and clicks on ok, to display an error message telling them that … | |
[B]So basically, my JMenuBar has to appear everywhere in my applet (I have CardLayout, 3 cards/screens), in every screen and in the same location (looks nice, consistency). How would I go about doing this?[/B] So, I was making a menu for my applet. I followed the exact instructions at: [url]http://java.sun.com/docs/books/tutorial/uiswing/components/menu.html[/url] … | |
Hi.. I am trying to connect to my database (MySQL) within a JSP page. The is compiling without any error, but still I am not getting any output. Can anybody help?? The code is as follows: [CODE] <%@page contentType="text/html" pageEncoding="windows-1252"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head><title>Enter … | |
Hi guys, I need your help. I am using python to synchronize several c programs. For one of these programs I need a dynamic interaction. I know there are several option: I am interested in the simplest one becouse I am noob. Python code and C code have to exange … | |
i want to compile .jsp file. i have downloaded tomcat 6.0. and set environmental variables e.g. set PATH="C:\Program Files\Java\jdk1.6.0_10\bin";%PATH% set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_10 set CLASSPATH=.;C:\Program Files\Apache Software Foundation\Tomcat\common\lib\servlet-api.jar;C:\Program Files\Apache Software Foundation\Tomcat\common\lib\jsp-api.jar;C:\Program Files\Apache Software Foundation\Tomcat\common\lib\el-api.jar;C:\Servlets+JSP;..;..\.. i hava searched pages related to configuring web.xml, context.xml etc but i am still unable to load … | |
[code] public partial class AddressBook : Form { public int Counter = 0; //declaring array with 20 elements public string[] arrayString = new string[20]; public AddressBook() { InitializeComponent(); this.contactList.SelectedIndexChanged += new System.EventHandler (this.contactList_SelectedIndexChanged); } private void frmAddressBook_Load(object sender, EventArgs e) { } private void btnAdd_Click_1(object sender, EventArgs e) { //my … | |
Hey guys, here's a simple one: I'm developing a load test suite (for GSM networks) at the moment and i have scripts that create traffic patterns and all that. I am developing a GUI for the test suite that dynamically adjusts the layout and controls which are displayed on a … | |
This is my assignment Starting with last week's Property project, build an array of Properties in your main(). Add static methods to the Property class: void ArraySort(Property[] property_list, String key_field) This will sort the array, property_list, based on the argument, key_field, passed in. These are the legal choices for key_field: … | |
Hi I am worthless in CSS. My boss doesn't want me to use <br> or table. I have a datalist and a div which is relative, like he said I should have. Then I placed spans which are absolute and with top and left. It works fine when there is … | |
guys... i am new to c++ and i have write litle consol aplication and the problum is after compiling hte code the cmd is clossing verry fast. so what i need to do is i need to stop closing the CMD verry quickly. in c# i use "console.readline();" so plzz … | |
Ok so I'm doing some practice questions, and this one is trippin me up a bit. I need to create an array that stores data 0.0, 0.1, 0.2, 0.3, all the way to 20.0. Then I have to compute the sums of the elements that are not integers (i.e 0.0, … | |
Hi everyone, I recently migrated to PHP 5.3.2, and realized that I am unable to turn off notice errors in my site now. I went to php.ini, and in these lines: [CODE] ; Common Values: ; E_ALL & ~E_NOTICE (Show all errors, except for notices and coding standards warnings.) ; … | |
I have to create a scheme parser and unparser. My teacher is checking this assigment by seeing if (unparse-exp (parse-exp 'expression)) returns expression and parse-exp returns an error when called with bad input. There is no defined format for what is returned from parse-exp just as long uparse can works … | |
Hi, The excercise I'm trying solving it today is printing the numbers from (32 to 256) and the ASCII values in table, I completed the code but the console appear one value only.. :( The excercise: [CODE]ASCII table Make a program that writes a table of all characters with values … | |
After a lot of trial & errors, I've managed to create an array as follow : xxx xxx xxx xxx 000 000 xxx 000 000 x00 000 000 x00 000 000 x00 000 000 x00 000 000 x00 000 000 x00 000 000 Now, when a user enters a value … | |
I am trying to use Lua in one of my C++ projects, but I get errors: [QUOTE] **** Build of configuration Debug for project MacroLua **** **** Internal Builder is used for build **** g++ -LD:\Program Files\Lua\5.1\lib -oMacroLua.exe MainLuaTest.o MainLuaTest.o: In function `main': C:/Users/s/MacroLua/MacroLua/Debug/../MainLuaTest.cpp:11: undefined reference to `luaL_newstate' C:/Users/s/MacroLua/MacroLua/Debug/../MainLuaTest.cpp:14: undefined … | |
I am vb.net application developer. I like to intstall vb.net software. | |
Hi, The following is an exercise in c++, I solved it but I doubt my solve is not right ..can someone tell me is my solve right or wrong especially the compiler didn't give me any errors [I][B]The exercise:[/B][/I] first look the attached image, The acceleration of a sleigh sliding … | |
ok so i want to make my code in a window instead of c++ how would i do this? can someone give me a example? | |
Hi guys, I am having great difficulty in reading a text file char by char and storing them in a linked list. I started off with simply attempting to read from file char by char, and that worked fine. But when attempting to store the file into a linked list, … | |
Hi folks, Im currently doing a media player, ripper and burner and was wondering if anyone could help me with a few things. Im looking for - how to create a display to show track name, slider bar, track time etc. - code for a cd burner (cant seem to … | |
I need 5 T or F questions with the option to input the answer and then add the correction to answer if right or wrong. i just need random questions! I am thinking of going to school for computer programming and my FIL is a programmer. [code] #include <iostream> #include … | |
Any suggestions / code examples for Encryption/Decryption of files(any file format) in java. command line args - | |
hi.... i have a c++ project on dev c(with winbgim)...i would like to link it to visual basic 6......i want some clear steps to be followed for linking dev to vb | |
Hi, I have a question here: imagine we want to write a function that checks if a given binary tree is a valid binary search tree ( the tree is in the form of objects/embedded references). What is the best time complexity possible for such a function? I'm new to … | |
Hello all, very first post here so don't be surprised if i ask too many stupid questions and whatnot :P Firstly I should point out that I am an Artist and really dont know much about anything computerish apart from photoshop and illustrator. Animation and 3D modeling does however look … | |
hello, i have a problem in understanding time complexity. i know that if we are having on for loop. for e.g. [code]for(int i=0.i<n;i++) { } then my time complexity will be O(n). And if i nest two for loops ,like this for (int i=0;i<n-1;i++) { for(int j=i;j<n;j++) { } }[/code] … | |
Hi, I have been trying for hours to solve this problem. I have attached below a very simplified version of my actual code. The constraints are: 1) the function "lib" cannot have its signature changed, as it is part of a library. 2) the pointer attribute "funcPtr" cannot be static … | |
Hi. I am coding a game for my basic Java programming course, and I am currently coding a game (Othello, aka Reversi). I am having issues with the JButton size. [CODE]public void game () { resize (800, 680); game = new Panel (); Panel board = new Panel (new GridLayout … | |
I have to make an array of Nodes. I have #include "Node.h" as my header file and then in main I am writing the following code Node[] Node_array = new Node[]; but then I am getting errors referring to the above line: error C2143: syntax error : missing ';' before … | |
Hi everyone, This is my first time here, so if I don't do everything up to how it should be done, bear with me. Anyways, for a project in my python class I am having trouble generating a webpage with clickable links. I am using Python 2.6.5 and will be … | |
HI there, I've been trying to implement a class of a ball i was given by an tutor but am having troubles. She gave me: [B]TBall.h[/B] [CODE] class TBall { public: double _radius; // defines the radius of the ball TVector _position; // defines the position of the ball TVector … | |
Hi everyone! I am working my way through some problems from projecteuler.net and came across one that has stalled me. The task is to find the sum of all primes under 2,000,000. I am attempting to use the Sieve of Eratosthenes algorithm for identifying prime numbers. Here is my code … | |
I am using Visual basic 6 I am trying to create a new txt file with the textbox (text1) contents. But instead of calling that text file "Stored.txt" as I currently am doing, I am trying to create the new .txt file with the text from the textbox. Private Sub … | |
So what I am trying to do is give a user 4 links of stories that are relating to the topic. (In my specific case, they choose microsoft and I return them 4 top stories about the company). My problem is pairing the description with the link. So far, this … | |
hi all, i'm the beginer for C#. And now i develop a small project that using to edit metadata for .wma file. I already found the reference from internet. But i dunno what is the parameter that should i pass in. Below is the function call >>> [COLOR=#0000ff]public[/COLOR] [COLOR=#0000ff]string[/COLOR] ModifyAttrib([COLOR=#0000ff]string[/COLOR] … | |
helloo; i challenge all of the world programmers ;my question is; "Write a program that print all of the real number between 0 and 1"; :) :D :P chaleenge | |
[B]Here is the actual homework problem. I am stuck on parts 1 and 2 and I really don't know how to make this right. Any help is greatly appreciated.[/B] 1. Write a C++ program that reads following data from an input file called “in.txt”, And stores them to an array … | |
This is an example from an assignment I'm working on in which we need to validate that the user enters at least 1 Like for the temp.like[3] array and 1 Dislike for the temp.dislike[3] array. I tried using a while statement that said " while (temp.like == "") " or … | |
Hi there I have a form which will delete items from a MySQL database. I'm having one problem though. I'd like to have a confirmation window popup and if yes is clicked then the php gets processed to delete the row out of the database. Is it possible for javascript … | |
hey all im back as usual kicking my head ageist the door line 41 is giving me a compile error of "cannot declare variable sortItem to be of abstract type" just learning C++ inheritance its a bit different than java. thanks for all the help. Demo.cpp [CODE] /* File Name: … |
The End.