199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Encrypted

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 …

Member Avatar for Encrypted
0
106
Member Avatar for Lukezzz

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 …

Member Avatar for green_frog
0
5K
Member Avatar for Fulladder

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 …

Member Avatar for Fulladder
0
92
Member Avatar for karthi_selva

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 …

Member Avatar for mhorton
0
101
Member Avatar for rasizzle

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 …

Member Avatar for woooee
0
370
Member Avatar for crazydog115

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 …

Member Avatar for Salem
0
289
Member Avatar for whimsical1987

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 …

Member Avatar for JamesCherrill
0
89
Member Avatar for inisca

can someone show me an example of how can I use SFC_CALC_SIGNAL_MAX in C++

Member Avatar for Salem
0
205
Member Avatar for rugae

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 …

Member Avatar for barevhayerable
0
520
Member Avatar for tukky

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 …

Member Avatar for pritesh2010
0
105
Member Avatar for IOwnAndPwnU

[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] …

Member Avatar for BestJewSinceJC
0
237
Member Avatar for SwapnilDD

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 …

Member Avatar for SwapnilDD
0
2K
Member Avatar for pietromarchy

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 …

Member Avatar for pietromarchy
0
539
Member Avatar for aks_1

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 …

Member Avatar for aks_1
0
145
Member Avatar for barbjones7

[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 …

Member Avatar for bravo659
0
431
Member Avatar for LarZ

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 …

Member Avatar for Dixtosa
0
4K
Member Avatar for ihong154

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: …

Member Avatar for javaAddict
0
149
Member Avatar for fiaolle

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 …

Member Avatar for fiaolle
0
129
Member Avatar for chathuD

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 …

Member Avatar for chathuD
0
87
Member Avatar for JAK3CAL

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, …

Member Avatar for javaAddict
0
110
Member Avatar for knkk

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.) ; …

Member Avatar for knkk
0
178
Member Avatar for benasour

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 …

Member Avatar for Rashakil Fol
0
490
Member Avatar for iammfa

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 …

Member Avatar for jonsca
0
129
Member Avatar for rlhh

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 …

Member Avatar for Adak
0
169
Member Avatar for nickguletskii

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 …

Member Avatar for nickguletskii
0
419
Member Avatar for thanlin
Member Avatar for Luc001
0
79
Member Avatar for iammfa

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 …

Member Avatar for jonsca
0
1K
Member Avatar for skorm909

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?

Member Avatar for tonymuilenburg
0
76
Member Avatar for doolsta111

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, …

Member Avatar for mitrmkar
0
245
Member Avatar for mickeyfitzray

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 …

Member Avatar for kvprajapati
0
367
Member Avatar for s_ellis88

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 …

Member Avatar for tonymuilenburg
0
110
Member Avatar for Ashwin1985

Any suggestions / code examples for Encryption/Decryption of files(any file format) in java. command line args -

Member Avatar for peter_budo
0
481
Member Avatar for prade

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

Member Avatar for kvprajapati
0
283
Member Avatar for bobmckinely

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 …

Member Avatar for prime1999
0
417
Member Avatar for keithtronics

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 …

Member Avatar for peter_budo
0
163
Member Avatar for drewangel

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] …

Member Avatar for sainttt
0
83
Member Avatar for moundeman

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 …

Member Avatar for Salem
0
1K
Member Avatar for IOwnAndPwnU

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 …

Member Avatar for JamesCherrill
0
2K
Member Avatar for achieve_goals

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 …

Member Avatar for achieve_goals
0
145
Member Avatar for Romber

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 …

Member Avatar for Hummdis
0
640
Member Avatar for thehivetyrant

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 …

Member Avatar for Salem
0
169
Member Avatar for nwhitesel

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 …

Member Avatar for nwhitesel
0
234
Member Avatar for jackfarrel

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 …

Member Avatar for Hacker3
0
149
Member Avatar for Romber

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 …

Member Avatar for Hummdis
0
142
Member Avatar for skymonster84

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] …

Member Avatar for kvprajapati
0
156
Member Avatar for #define

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

Member Avatar for jwenting
0
159
Member Avatar for ans025

[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 …

Member Avatar for ans025
0
203
Member Avatar for brettbed

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 …

Member Avatar for brettbed
0
581
Member Avatar for Venom Rush

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 …

Member Avatar for rh solar
0
279
Member Avatar for theABCasian

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: …

Member Avatar for theABCasian
0
5K

The End.