199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mahela007

How can I make a program wait for a few seconds before proceeding? An example of where this would come in handy is when the program allows the user 5 seconds before it proceeds with some default option... can I do this using python?

Member Avatar for mahela007
0
285
Member Avatar for Austinjs0102

Alright i am writing a program to read a sentence you write and judging by you punctuation it will tell you whether its a statement, question, exclamation or other. My problem is that it isnt running my If statement. am i just bind and missing something. [CODE]/* * To change …

Member Avatar for staneja
0
315
Member Avatar for mseck

I would like to create a java prob that will request three integers from a users and have it printout the sum and product as such: the 3 different integers are : 13, 27, 14. the sum is 54 The product is 4914 Completed Have i programm the right way: …

Member Avatar for staneja
0
103
Member Avatar for debangan.b

I need to learn .net 3.5 frame work. I dont have much knowledge about this. Can anyone please tell me what are the things i need to learn to handle a site as I am working in a site devlopment team and also how much time will take to handle …

Member Avatar for debangan.b
0
129
Member Avatar for manchesterutd

Hey guys, I really do not know on how to start this loop logic structure. Can anyone give me a rough idea on how to go about it? The question is : Develop a solution to calculate a student's grade average for one semester. The letter grades should be entered …

Member Avatar for WaltP
0
77
Member Avatar for realnsleo

Hi, okay i've spent hours in the web searching for the right image slideshow/gallery to use for my website but in vain! Dont get me wrong the jQuery, Ajax scripts i've seen so far are so good but they all use lists to load all the images at once and …

Member Avatar for realnsleo
0
147
Member Avatar for pankti

I want to reset the ComboBoxEntry when the arrow symbol on it is clicked, but could not find any method that is called when arrow symbol on dropdown list is clicked. None of the signals button_press_event, key_press_event or focus_in_event works. This all are called when the text area on dropdown …

Member Avatar for pankti
0
113
Member Avatar for shiv0013

[CODE] package Sample; public class Sam { public static void main(String[] args) { R obj[] = new R[100]; obj[0].current=0; } } [/CODE] [CODE] public class R { int current; } [/CODE] when executing this code i am getting null pointer exception. while debugging at "obj[0].current=0 " it shows as malformed …

Member Avatar for PersonalIT
0
1K
Member Avatar for Dragonsreign

[code] /* * This program displays "I Love C++" to the Standard Output */ #include <iostream> int main () { std::cout << "I Love C++"; return 0; } [/code] I just DLed and Installed Cygwin and Netbeans using instructions from: [url]http://netbeans.org/community/releases/65/cpp-setup-instructions.html[/url] I did see that ths "type" of problem has …

Member Avatar for Dragonsreign
0
927
Member Avatar for losh177

hi, i'm having problems with the output. I do not get anything when I select 4 and enter a binary number. Here is my code, if anyone could point out what i'm doing worng, thanks. [CODE]import java.util.Scanner; public class Driver { public static void main(String [] arg) { LineWriter Lw …

Member Avatar for losh177
0
115
Member Avatar for aneeka

good day! Please help me here, I need to count the record according to my condition but with my code it only counts the last record in the table in MySql. Here is my code.. Thanks! [CODE]<?php //establishing connection mysql_connect("localhost", "abc", "bbb") or die(mysql_error()); $submit = $_POST['submit']; $cancel = $_POST['cancel']; …

Member Avatar for aneeka
0
177
Member Avatar for AlexandraK

There might have been a question like this but I cannot find. I use option buttons in the form but in the report I want to see text instead of numbers. How shall I do it?

Member Avatar for AlexandraK
0
62
Member Avatar for 4789787

I want my cookie not to be reset when i close the browser. The way i have it right now it expires whenever i close the browser... I REALLY REALLY need a solution to this so please if someone could give me some time id REALLY appriciate it!! I dont …

Member Avatar for 4789787
0
250
Member Avatar for clutchkiller

Assuming that a year has 365 days, write a class named DayOfYear that takes an integer representing a day of the year and translates it to a string consisting of the month followed by day of the month. For example, Day 2 would be January 2 Day 32 would be …

Member Avatar for clutchkiller
0
308
Member Avatar for deftech69

I have a general question about searching inside a two-dimensional array. I'm working on a number search program that allows the user to enter a number to search in a grid of numbers. For example: User wants to search: 234567 In a grid of: 232772725432 734234657337 272425672442 235533655737 252444474436 737533255325 …

Member Avatar for deftech69
0
2K
Member Avatar for psdao1102

[CODE]#include <fstream> #include <iostream> #include <cassert> using namespace std; int main() { ifstream inFile; ofstream outFile; inFile.open("file.txt"); assert(!inFile.fail()); cout << "everythings fine" << endl; cin.ignore(); cin.get(); return 0; }[/CODE] This is my current code, file.txt doesnt exist. The program simply crashes. I was hoping for an error message explaining what …

Member Avatar for Ancient Dragon
0
118
Member Avatar for SpyrosMet

Hello. I'm a newbie and i was wondering if anyone can tell me how to create an array that contains objects and number 0 wherever there is no object. Thanks in advance

Member Avatar for kvprajapati
0
122
Member Avatar for atticusr5

Hello everyone, I am a C++ newbie and I am running into some linking errors. I am using Vi to compile and link my code. Here are the linking errors: assign6.o: In function `cAccountList::cAccountList()': assign6.cpp:(.text+0x1db): undefined reference to `cAccount::cAccount()' assign6.o: In function `cAccountList::cAccountList()': assign6.cpp:(.text+0x22b): undefined reference to `cAccount::cAccount()' assign6.o: In …

Member Avatar for Ancient Dragon
0
112
Member Avatar for shadwickman

Hello, I was wondering how to go about having a redirect of stdout with Python take effect in a C extension. My python script redirects sys.stdout into a file handle created with [i]open(...)[/i], but within the function in my compiled C-extension, any output ([i]printf[/i], [i]puts[/i], etc) is still given to …

Member Avatar for Gribouillis
0
604
Member Avatar for karin42

Hi! I am attempting to change the innerHTML code of a div and to run javascript code at that time. But I seem to be unable to do it. The actual workings of the whole thing are really convoluted but here is the general idea: [CODE] <html> <head><title>JavaScript test</title> <script …

Member Avatar for karin42
0
202
Member Avatar for scott__

hello, this is my first post on this forum! i have a strange bug that i get when using the player/stage project. I have compiled it with the MinGW compiler and it works fine on my vista laptop. However, on a lower spec XP PC it segfaults. Using GDB, i've …

Member Avatar for scott__
0
181
Member Avatar for atticusr5

Hey everyone I am writing some code for my c++ class and in this program I am trying to sort back account information by there accountID #'s. When I try to compile, here are the errors I get: assign6.cpp: In member function ‘void cAccountList::sort_by_ID()’: assign6.cpp:110: error: ‘accountID’ was not declared …

Member Avatar for Narue
0
143
Member Avatar for sadhramani

[code] int do_openFile(void) { char *p ; /* pointer to outFileName */ char *m ; /* pointer to report date */ char *mon; /* month number in report date */ /* get output file name */ m = pk->CNCRptdate; m += 2; strncpy(mon, m, 2); p = outFileName ; strcpy(p, …

Member Avatar for Narue
0
155
Member Avatar for calccrypto

how do i get this code to stop referring to its present value, so that the values already saved in the list are not changed to the present value? [CODE] Cm = 0x5A827999; Mm = 0x6ED9EBA1 Cr = 19; Mr = 17 Tm = [[0]*8]*24 Tr = [[0]*8]*24 for i …

Member Avatar for calccrypto
0
68
Member Avatar for Szabi Zsoldos

I would like that case 1: should display how many elements do i want, and that i can assign values to those elements. Mine because of the j++ goes infinite, so i can enter infinite values to infinite arrays. How could i do this? Cate elemente vrei sa adaugi: 3 …

Member Avatar for Szabi Zsoldos
0
561
Member Avatar for noey699

Every thing works perfectly only it will not check for a full house. Ive tried to figure out what the problem was by rewriting pair checking and three of a kind checking but the same result always. The function simply returns an integer corresponding to the hand stength given a …

Member Avatar for noey699
0
151
Member Avatar for lrh9

I've seen these in documentation, namely in the "importlib" documentation for Python 3.1, and I'm wondering what the difference is between a "universal newline" and a "standard newline", if any. I know it has to do with the byte sequence that is used to represent newlines, and I think universal …

Member Avatar for HiHe
0
174
Member Avatar for Zay

Hello; can we give the variable in struct an initial values ? ex: struct example{ int id; float gpa; string name; }; can we but this inside the structure : int id=34440; the same Q is for the Class ? can we intialize the variable when definr it for the …

Member Avatar for mrnutty
0
100
Member Avatar for killerbeat

hi al, i have a webbrowser component that refreshes every 5 sec, but when it refreshes you hear the *click* sound. But how do i disable that

Member Avatar for Thyoric
0
609
Member Avatar for hypnos4

Hello, I've got a problem with my project... in short I've got a mysql db bond through a DataSet and BindingSource - if I'm editing like a user the gridview then all changes are commited to the db no problem... But I need the user to responsibly change foreign keys …

Member Avatar for kdcorp87
0
338
Member Avatar for selenask

Hello, Im trying to create file . I'm almost done my program but Im getting this error. The method read() is undefined for the type Scanner

Member Avatar for selenask
0
94
Member Avatar for indu-bajaj
Member Avatar for webbespoke
0
93
Member Avatar for codewalkz

Hi I currently have date in database in this format: 11-7-2009 But I think I need to echo this in this format: 2009-11-07

Member Avatar for emhmk1
0
186
Member Avatar for ithelp

Hello C experts, I am searching for a tool which can validate content of printf (static string part) against an english dictionary , have anyone of you come across such tool , here is the example to clarify. [code=c] printf("The value of the interface identifier is %d",i); printf("This intarface is …

Member Avatar for Dave Sinkula
0
97
Member Avatar for phoenix69

Hi there... I am a new member here. If my request is not appropriate anyone can delete it. I desperately need help with my school work. I have been doing this for about a week but still don't get how to do. This is a big programming work, so I …

Member Avatar for peter_budo
0
1K
Member Avatar for capiono

I am trying to switch between to form in different project currently I am going this: [CODE] this.Hide(); form2 f= new form2(); f.Show();[/CODE] the new instance of form2 throws a null exception error. But I think because form2 is not active. How do I work around this or is there …

Member Avatar for kdcorp87
0
94
Member Avatar for falcon60

Hello. I'm new to C++ and I just learned how to use vectors and lists and indices and iterators, but i'm confused about iterators. Mainly, why should I use them instead of indices? They seem to add more complexity to accomplish the same thing as using indices... so could someone …

Member Avatar for Salem
0
73
Member Avatar for OldQBasicer

Is there a way to wrap the text on the list box items, i.e. go to the next line, when they're too long for the box. A few of my items are too long to fit, so they are truncated.

Member Avatar for OldQBasicer
0
167
Member Avatar for Ap0ca1ypse

Hello, I have created a program and i have managed to publish my application. I have set it up to be installed via CD but it does not attach the MSAccess DB. My question is how do I add the DB?

Member Avatar for Ap0ca1ypse
0
146
Member Avatar for rocky289

I have been asked to create a student database using linked list. this is the question given to me. Write a C/C++ program to perform the task of maintaining student information for 123 College. You are to use a linked-list for storing the students’ information. Each node of the linked-list …

Member Avatar for Salem
0
7K
Member Avatar for Dizzzy

Ok i have a char with ''/afile.html" assigned to it. The extensions of it can vary so i need to get the extension to a seperate char to compare it with something else il show you what i have.... Basically i need everything after the '.' [CODE]char resource[16]; n = …

Member Avatar for Dizzzy
0
141
Member Avatar for trickslide

Hi, This is my first post so please be gentle.. I am building a site that has 100 or so pages the majority detailing a seperate training course. I have a contact.php page where visitors can fill in there details as most sites. this then gets sent via a mailer.php …

Member Avatar for trickslide
0
64
Member Avatar for motters

hi can any one tell me how to make a profile page for my website i have been tring for a bit but just can not do it sort of new to php. i have a dater base called clubwigan with a table in it called wigan_users in that table …

Member Avatar for Fbody
0
338
Member Avatar for SpyrosMet

the error by the compiler is [code=text]Compiler: Default compiler Building Makefile: "C:\Dev-Cpp\Makefile.win" Executing make... make.exe -f "C:\Dev-Cpp\Makefile.win" all g++.exe Untitled1.o plants.o -o "Project1.exe" -L"C:/Dev-Cpp/lib" Untitled1.o(.text+0x182):Untitled1.cpp: undefined reference to `Plants::Plants()' collect2: ld returned 1 exit status make.exe: *** [Project1.exe] Error 1 Execution terminated[/code] main code is [code]#include <iostream> using std::cout; using …

Member Avatar for SgtMe
0
132
Member Avatar for fardoonmuhafiz

If a class doesnt override toString() method and tries to print out the object like this: //some class [code] public class SomeClass1{ int x=4; } //another class class DemoOftoString { public static void main(String[] args) { SomeClass1 o=new SomeClass1(); System.out.println(o); } } [/code] output:SomeClass1@hex version of object's hash code ------------------------------------------ …

Member Avatar for fardoonmuhafiz
0
101
Member Avatar for C++ Beginner

Problem: Write a pgoramthat uses a structure to store the following information: Name, IdNum, Test1Score through Test4Score, average, and grade. function to ask the user for student's name, etc. The average score should be calculated and stored in the Average member of the structure should be calculated in their own …

Member Avatar for C++ Beginner
0
374
Member Avatar for Aiyen

Hello all, great forum that have been a great source of information for me over the past many weeks. So now I decided to join up. I am currently trying to write a partial sum function as part of a much larger program I once wrote in Fortran. I am …

Member Avatar for Aiyen
0
94
Member Avatar for jemz

hello please help me on this how to write on notepad....example input your first name input your last name input your middle initial input your address input your age this should be the ouput in notepad after inputting the data and this should be proper align .thanks in advance..hoping for …

Member Avatar for javaAddict
0
3K
Member Avatar for cebubismac

I have a Samsung Ellix 20 Thermal Parallel Printer. Can you please send me some programming sample commands using VB6? Please help me. Thank you.

Member Avatar for vb5prgrmr
0
193
Member Avatar for SpyrosMet

Dev cpp gives me the error 18 C:\Dev-Cpp\Untitled1.cpp request for member `setStats' in `plant1', which is of non-class type `Plants ()()' And the same for line 19. Please someone tell me what's wrong. I'm a noob at c++. Thanks in advance. #include <iostream> using std::cout; using std::cin; using std::endl; #include …

Member Avatar for SpyrosMet
0
359

The End.