199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for schrope

i am taking my first C++ class and i can not clear the following error can anyone help error C2447: '{' : missing function header (old-style formal list?) //christine gershen // Exercise 4.17: Encryption.cpp // Encrypts data given by user. #include <iostream> // required to perform C++ stream I/O #include …

Member Avatar for schrope
0
145
Member Avatar for ryanduong

Hi, I hope someone here can help me with this problem. I want to create a button in my site such that when it's pressed, the site database will be exported to an excel file. The codes to export database I got works fine but when I try to merge …

Member Avatar for ryanduong
0
4K
Member Avatar for ulanda1025

I am getting the following errors and can't figure out how to fix it: [B]Start Error Message:[/B] 1>------ Build started: Project: Essential, Configuration: Debug Win32 ------ 1>Compiling... 1>Essential.cpp 1>c:\users\youlanda\desktop\lan\odu\spring 2011\it 310\program 1 store inventory\essential\essential.cpp(9) : error C2659: '=' : function as left operand 1>c:\users\youlanda\desktop\lan\odu\spring 2011\it 310\program 1 store inventory\essential\essential.cpp(10) : …

Member Avatar for Fbody
0
238
Member Avatar for WolfShield

Hello everyone, I've just been trying to run the basic JSAPI 'Hello World' program. It's taken me a while to figure out how to get it to work (and to download everything) but now I have it to this point. I have a few of the same errors that pop …

Member Avatar for JamesCherrill
0
134
Member Avatar for jshoot

Hi every one! I have to genarate a 2d graphic based on x,y axis. I have two vectors with the same size, and I wanna to use then to make the x and y axis. Can anyone help me? Or show a trick, or page? Thanks

Member Avatar for jshoot
0
135
Member Avatar for Katana24

Hello all, Im having a problem using the Timer class. In one class it works fine but in the other; though I do the exact same thing, it doesn't work. I know that the constructor for the Timer class allows no parameters and with parameters, as the other classes uses …

Member Avatar for Katana24
0
97
Member Avatar for wilko1995

Hey, does anyone think they could explain how this code works? [CODE]def hanoi(n, a='A', b='B', c='C'): """ move n discs from a to c using b as middle """ if n == 0: return hanoi(n-1, a, c, b) print a, '->', c hanoi(n-1, b, a, c) hanoi(3) [/CODE]

Member Avatar for TrustyTony
0
117
Member Avatar for dooleyis

Hi everyone, I was wondering if it is possible to point to a textbox created in the form designer via a string variable. Basically, I'm creating a golf management system with a feature allowing a user to define their own course. Each hole has a corresponding textbox into which a …

Member Avatar for dooleyis
0
216
Member Avatar for chipsch

I am having a problem with the below applet. It compiles just fine and when it is ran it shows up with the multiplication problem at the bottom of the applet as expected. The problem is that it says if the answer is correct or not before an answer is …

Member Avatar for JamesCherrill
0
391
Member Avatar for Alex_

Hello. I am trying to make a thread pool for a server that will process incoming socket connections. The purpose is to have limited available connections at a time. I can't grasp this concept fully to implement it. Perhaps some of you can help me! Please try. Below is my …

Member Avatar for Alex_
0
347
Member Avatar for Singlem

I found a small issue in one of my app's. I'm reading data from a database to a array(so to say) [CODE] npc_text.text1[0] = reader["text0_1"].ToString(); [/CODE] Now I'm having the problem that "text0_1" can be a NULL value. The to string complains about it. If I use a variable it …

Member Avatar for Singlem
0
113
Member Avatar for tcollins412

i need help with a project im working on. im writing a task manager for school, and lets say i have a section for the due-date. How would i write a calendar that pops up like in Google tasks or phpmyadmin when you go to insert a date. thank you.

Member Avatar for diafol
0
106
Member Avatar for Quintia

The class ArrayList is often used where the interface List could be used instead. How would i go about replacing the ArrayList by List wherever possible?

Member Avatar for jon.kiparsky
0
90
Member Avatar for Kath_Fish

Hi... I have question on how to do the combination in Window Form. Now, I have a list of data eg. 1. 1111 1112 1113 1114 1134 1133 1222 1345 1444 2. 1111 1122 1134 1135 1145 1234 1235 1245 1445 I have already split them in array and i …

Member Avatar for Kath_Fish
0
99
Member Avatar for atticusr5

Hello all, I know there is a "sort" method in the STL for list. However I am not sure how to use it, and my research was unable to help me out. What I am trying to do is sort my master list by the averages, lowest to highest. Can …

Member Avatar for atticusr5
0
147
Member Avatar for AdriftUniform

Hi, I am having an issue getting my select boxes working in IE. My current situation is that I have 2 select boxes, 1 for Styles and another for Substyles. Not all Styles have a Substyle, but each Style has a different Substyle, so when should happen is when you …

Member Avatar for AdriftUniform
0
165
Member Avatar for xunilxunil

Hello. First of all I am a newcomer to programming languages world and of course very new to Python. In my job, we are using Linux systems. Time to time I need to check some command and script outputs on the terminal. So, I wanted to code a small application …

Member Avatar for xunilxunil
0
306
Member Avatar for arshalan

hi, Php developers , need a help here. how to make php shortuts in [code]%shortcuts%[/code] or [code]:shortcuts:[/code] ? I know only a shortcut of [code]$shortcut[/code] But this is not usefull . Thanx in advance :)

Member Avatar for arshalan
0
166
Member Avatar for mr3army

Hi, I have my program all programmed but, i want to have only one button! How can i make it so if the radio button is selected it will do a certain sector of the code when the the actual button is pressed iv had a good attempt at if …

Member Avatar for mr3army
0
100
Member Avatar for WinterDawn10

[url]http://www.facebook.com/photo.php?pid=608407&l=36ae49bbf4&id=100000539331398[/url] check out this picture.. i want to make one of my lists to be shown in this way.. whenever you click the '+' sign, the products under the main products will be displayed, and when you click the '-' sign, the products under the main products will be hidden.

Member Avatar for WinterDawn10
0
151
Member Avatar for tcollins412

i need help with something lets say i had a url: [url]http://domain.com[/url] and it was supposed to go to the page [url]http://domain.com/loggedin.php?goto=hi[/url] how would i make it so in the browsers url bar, it only says [url]http://domain.com/?goto=hi[/url]

Member Avatar for chrishea
0
204
Member Avatar for shinsengumi

Hello all. I've previously created a working socket program in C in a 32-bit machine and now I have to transfer it to a 64-bit machine. May I ask if there is anything I have to change in my program to make it work in a 64-bit machine? I did …

Member Avatar for Ancient Dragon
0
609
Member Avatar for prahesh

Hi All, I was working on the project that was building very well on Visual Studio 2008 Express Edition. Later I have installed the Visual Studio 2008 professional along with Visual Studio 2008 SP1. Now I am trying to build the project, which shows the following Error. fatal error LNK1181: …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for facarroll

I am writing a script to register users, but I want to add an incrementing suffix to each duplicated name. The script works and posts to the database. On entering a name for the first time, everything is OK, but when I enter a duplicate name from then on, the …

Member Avatar for diafol
0
120
Member Avatar for kylix_jin

Good day Sir/Maam.. im new here. i have a project in MS Access 2003 that will tanslate numbers into words... is there a code using Asc? to this program... im sorry im newbie in programming.. thanks a lot..

Member Avatar for AndreRet
0
125
Member Avatar for Violet_82

Hi there, I have developed (with some invaluable and greatly appreciated help!) a comment box using Java script (see bottom of this page [url]http://www.antobbo.webspace.virginmedia.com/webediting/documents.htm[/url]) but I would like now to be able to receive comments via email. At the moment if you click on the comment button it opens the …

Member Avatar for Violet_82
0
124
Member Avatar for gauravk_bhanot

I was trying to solve this query: [B]Find all the students who have taken the course taken by a instructor named 'XXX'.[/B] Well the division operator of relational algebra can do it easily. I want to know how to use the division operator in sql(if there is any) or any …

Member Avatar for pratik_garg
0
127
Member Avatar for vishal.patil

This is the code that I have written in C# which shows the contains in the sample.log file. [CODE] class FileRead { public void ReadData() { FileStream fs = new FileStream("sample.log", FileMode.Open, FileAccess.Read); StreamReader sr = new StreamReader(fs); sr.BaseStream.Seek(0, SeekOrigin.Begin); string str = sr.ReadLine(); while (str != null) { Console.WriteLine("{0}", …

Member Avatar for mcriscolo
0
417
Member Avatar for odiejodie

well simply i am coding an animation using netbeans but i wish to calculate the distance between my animation and the landing strip. i am using two labels in the animation, one is a rocket which you can direct and the other is a landing strip. How am i able …

Member Avatar for JamesCherrill
0
155
Member Avatar for dark3lf

Hello, I have a script written the unix shell language (NOT in bash or any other shell, in sh) that prints the mount point of a given usb (i.e, it takes the path of a usb (such as /dev/sdb1) as an argument). Here it is: [CODE] #!/bin/sh # usage: get_mount …

Member Avatar for thekashyap
0
202
Member Avatar for Aser Gado

Okay so I set up a registration form and everything goes well when registering but when I go and check in MySQL database the row is created but only the id field is filled not the First Name, Second Name, Email and Password. Here's the .PHP for processing the registration …

Member Avatar for pzuurveen
0
116
Member Avatar for sneha mehta

i want to include using.System.Transactions header file in c# program but i m not able to do that. whats the problem i am not getting??

Member Avatar for Momerath
0
95
Member Avatar for gavriela

Hi, I'm a student of Java, and my first homework assignment is more advanced than our reading. So...I'm lost. This question is: Q5: Write a program that reads a list of exam scores from the keyboard. Using A=90 to 100, B=80 to 89, C=70 to 79, D=60 to 69 and …

Member Avatar for Er. Mukesh
0
1K
Member Avatar for Jessurider

hey i've created 2 labels(label1 & label2) with 2 key handlers ([B]LEFT[/B] arrow key & [B]RIGHT [/B]arrow key)...........here when i press RIGHT key, a number counting is displayed in label1 .......... <<<<<here i need help>>>> suppose imagine that the count reached 20 at label1.....then when i press LEFT key the …

Member Avatar for prvnkmr194
0
99
Member Avatar for coding101

I need to read a text file and change each character into morse code, then send it to another file. is there an easier way than having 26 different arrays associated to a different letter?

Member Avatar for Adak
0
90
Member Avatar for Abdel_eid

hello i want to know how to get Arabic data from jtextfield it is writen normally but when i order to show it , it appears in the form of ?????? please help thanks for you attention

Member Avatar for mKorbel
0
468
Member Avatar for Bennychrystal

[CODE]hey there everyone, am a new guy in Java programming, i want you guys to help me on how to write a program that can print out [B]even numbers[/B] below 61? and I want also to write a Java program that prints my name(first and second name on different lines.) …

Member Avatar for Katana24
0
186
Member Avatar for fuston05

Was curious how to validate a phone number input field? Currently I am requiring that the phone # format be (5555555555) so that i can simply say if(is_numeric($phone_num)) so then when i retrieve it from DB i must manipulate the string to format it properly"(555)555-5555" But i was thinking it …

Member Avatar for fuston05
0
77
Member Avatar for vijeevvv

Hi, I have a gridview in asp.net. Inside that I have a template field control(Link button named "Details" in all the rows). When I click that link button the details of that particular row should be displayed. Say suppose three records are there. When I click the link button in …

Member Avatar for vijeevvv
0
107
Member Avatar for novice20

Hi, I get the log messages 'twice' on the console and only once in the log file. Can any one tell me the reason for this duplication on console? here is how I have set the logger: [ICODE]import logging #--set up logging to file logging.basicConfig(level=logging.DEBUG, format='%(asctime)s %(name)-12s %(levelname)-8s %(message)s', datefmt='%Y-%m-%d …

Member Avatar for novice20
0
104
Member Avatar for niths

hi all, i am integrating facebook to my website so that user can login into facebook and get his photos from facebook to my website.. so how can i do that can anyone help me.. Thank u..

Member Avatar for niths
0
223
Member Avatar for computerstudent

I'm trying to put together a code that will basically take a user input string and reprint every 3rd character. i.e. if a user inputs "Superman" it should be reprinted like "S e a" I'm sure this is Uber-simple to you but I'm just starting out, whether it is efficient …

Member Avatar for TrustyTony
0
157
Member Avatar for ymsweb

Hi all, We are having problems in the shopping cart created. It says "Shopping cart" is empty some pc's but on some pc's it is functioning properly. The shopping cart is working from my side but from client side (on client's pc's) it is some pc's working and some pc's …

Member Avatar for pzuurveen
0
206
Member Avatar for Aelphaeis

Essentially, my problem is that I have a program that dynamically creates controls. The Controls included are buttons and on click I want the buttons to remove themselves and all related data. The problem is I'm not sure how to identify the buttons from within the delete method. The important …

Member Avatar for Aelphaeis
0
192
Member Avatar for dem10

Hey I am writing a double linked list dictionary of sorts. All of my functions were properly (add element after, move pointer, search, etc.). However, something is wrong with my add before function. Initially it adds elements fine, however if I decide to move the pointer to a new element …

Member Avatar for thekashyap
0
161
Member Avatar for coco24

Can somebody please help me understand what the output of this code would be. I believe I am getting the wrong output due to some technical problems with my computer. [code] public class SetDemo { public static void main(String[] args) { SetInherit inherit = new SetInherit(); SetComposition comp = new …

Member Avatar for stultuske
0
127
Member Avatar for jacob21
Member Avatar for van21

Please, help me with my assignment. Please, anyone with a big kind heart : write a c++ program to give the 30 students final grade in a course with the ff. grading scheme: there are five quizzes worth 20 pts. each, a laboratory worth 100 pts., and exam worth 100 …

Member Avatar for van21
0
96
Member Avatar for surajmatekar

I Want to Store User Name and User Role In Some Way That I Can Used On My Every Page But I Have Already used Session And Cookies So Guys If You Have Any Diffrent Ways Then Show Me Please Thanks

Member Avatar for surajmatekar
0
100
Member Avatar for HardWorkingMan

I have a assignmnt to find all prime numbers less then 100 ,using a boolean array, set all to true and then set non primes to false and display them. ( got this!!! ) it also askes me to loop through the array and if number is prime (true) launch …

Member Avatar for JamesCherrill
0
2K

The End.