199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for beginerC#

Hello everyone! I have a form with a datagridview and another form with textboxes. First I load the form with datagridview. This one has a button which open the form with textboxes to be fill. If all textboxes are filled and I clik a button of this form, I want …

Member Avatar for beginerC#
0
93
Member Avatar for Tellalca

Hello, I really wonder that is it possible to open any file and play with the data inside it using C/C++ FILE pointer. I'm taking a lecture called Data Management and File Structures and there we are working with text and binary files. So I decided to research and work …

Member Avatar for Ancient Dragon
0
161
Member Avatar for elchalateco

Hi all, How do I change bytes [text stored in those bytes] in a binary file? I have a little function that read bytes 335-343 [For Keyer] and bytes 344-352 [for verifier] and displays it. These bytes store who the keyerID and VerifierID of a data entry file are. From …

Member Avatar for elchalateco
0
240
Member Avatar for heidik

[code]breachmonitor.cpp:(.text+0x17ce): undefined reference to `BreachMonitor::Breach::Breach()'[/code] Can anyone please tell me what does it mean? I have created a struct and then declared its variable like [code] Breach wb; [/code] and it isnt compiling. The structure has default constructor (no arguments) and another one for initialization. It has also got two …

Member Avatar for heidik
0
199
Member Avatar for something78

Hi, I am working on a robot project, that is required to create a website to control the robot via serial port.. The website is plainly html, no linking to database is needed... I have no idea how and what language to use and can JavaScript communicate with serial port? …

Member Avatar for Taywin
0
128
Member Avatar for alwaysLearning0

This is just for fun and to see how people do it, it will help me to learn different techniques also. If no one answers i will understand. :) Lets say you have a template class. You want a certain method of this class will have some sort of checking …

Member Avatar for mike_2000_17
0
186
Member Avatar for fender422

My assignment was to make a game called 'World of Warcrap', and I finished, but there are errors. the errors are in respawnNPC(), attack(), and fightToTheDeath() methods. here are the instructions on what each methods are suppose to do: 1) Define the respawnNPC method inside the WorldOfWarcrap class such that …

Member Avatar for kramerd
0
188
Member Avatar for Ferny84

We're supposed to create a program using TDD in our CS class but i'm not entirely sure how it works... You're supposed to create a fail test before you write code...how can you do that? I can't find any examples online :(

Member Avatar for Ferny84
0
99
Member Avatar for jdsurgeon

For some reason when i run this link statement I get this error not sure why am I getting it but it doesn't make any sense. I am not even doing a conversion. the field I am counting is a string field but the alias is a variable. Conversion failed …

Member Avatar for jdsurgeon
0
107
Member Avatar for BarnacleBoy

Hey everybody, I need to send the output data from a .cpp file to a .csv file so that I can import it into excel for further work. I was reading some stuff online, but I was getting confused. I need the data in the .csv file to look like: …

Member Avatar for BarnacleBoy
0
78
Member Avatar for filch

I am still learning jquery but I am wondering why this code does not work. I have a select field called item_name and a hidden field called amount. Based on the selection in item_name, I want to set the value of the hidden field (amount) to a set value. For …

Member Avatar for hielo
0
114
Member Avatar for knan

I have a file named test.txt I get the file [CODE]file=open("test.txt","r") obj=file.read() file.close() print obj a=a b=b c=c d=e e=d e=f f=e f=g g=h[/CODE] All I want to do with this obj is that, I've to create a regular expression such that, 1.If the left number matches the right number, …

Member Avatar for TrustyTony
0
203
Member Avatar for mitrious

I'm studying the Accelerated C++ book in the 7th chapter it teaches how to create random sentences from an input that goes like this words between brackets work as categories and <sentence> is the category that defines how the sentence will be organized example: I enter the lines: <sentence> the …

Member Avatar for mitrious
0
170
Member Avatar for heidik

Could somebody please tell me how do I write a file in "try catch" block for checking if the file exists, if it is opened, if it is not empty. This is the error message I get when the file not exist or it is empty. [code] terminate called after …

Member Avatar for heidik
0
87
Member Avatar for wangome

hae guys am working on a discusion forum and i have some few errors how can i get lid of them this are the erors Notice: Use of undefined constant topic_owner - assumed 'topic_owner' in C:\wamp\www\disc\do_addtopic.php on line 12 Notice: Use of undefined constant topic_title - assumed 'topic_title' in C:\wamp\www\disc\do_addtopic.php …

Member Avatar for pritaeas
0
231
Member Avatar for SindujaArun

hi i just want to know how to display data in the listview.Here is my code: [code] Sub viewAttendance() da = New SqlDataAdapter("select AttendanceDate,TimeIn,TimeOut,LateMin from tbl_Attendance", con) ds.Tables.Clear() 'da.SelectCommand = cmd da.Fill(ds, "tbl_Attendance") 'Dim krow1 As Integer = ds.Tables(0).Rows.Count With lvwAttendance .Clear() .View = View.Details .FullRowSelect = True .GridLines = …

Member Avatar for AndreRet
0
116
Member Avatar for sti

...will you pls help me with regards about my project.. it was a database and i've already created a form (user interface form for inputing data) with visual basic 6.0.. my prblem is, if the user wants to edit the data he entered how does he do that?.. send me …

Member Avatar for AndreRet
0
161
Member Avatar for locsin

Greetings Anybody know how to change the position of form controlbox(Minimized, maximized, close) button. Original location is on the top right of the screen. I want to relocate it on the top left. Thankyou in advance

Member Avatar for AndreRet
0
100
Member Avatar for ceyesuma

Hello. I have an app (JDesktop) and it has the JMenu and some JMenuItems. One will build an JTabbedPane with a dozen or so tabs. I start that one and it works good. Another MenuItem builds another Internal Frame with JtabbedPanels it works too. When I go back to the …

Member Avatar for ceyesuma
0
143
Member Avatar for fuston05

I have a link from one of my pages to another, been working fine even this morning, then i clicked it again (did not change anything on the page that contains the link.) then suddenly it says "page isn't redirecting properly. server is redirecting in a way that will never …

Member Avatar for fuston05
0
344
Member Avatar for realproskater

So, i got this much done so far but im stuck and i cant get my third case statement to work, also for some reason it prints off the calendar like days 8 9 10, etc, if you copy and paste and run it you will see it doesnt line …

Member Avatar for realproskater
0
595
Member Avatar for pssubash

How to communicate Python from PHP? i want to pass some arguments from my php page to python and python script process the arguments and returns the result.how it possible

Member Avatar for pssubash
0
121
Member Avatar for tKc

We are required to make a c++ program to determining the cos of x by using the taylor series. i have made my program and it works pretty good but we are also required to stop the loop after the terms in the taylor series gets lower than .0001. any …

Member Avatar for Nathaniel10
0
384
Member Avatar for akvlko

Dear Friends! I want to build a API in php/mysql for obtaining the data for a verified request The First Step when i create the Url for API by cURL its done but after that i wont able to do The Server Setup and Response XML Return Is there anyone …

Member Avatar for mschroeder
0
146
Member Avatar for bufospro

Hi, I am trying to read a string using the function below. The problem I have is that I can't write space in my string. So strings like : "name fullanme" are rejected and returns only "name". [CODE] char *getstring(char *ret, int max) { char *ppp, *qqq; int invalid_characters=0; //fgets(ret,max,stdin); …

Member Avatar for bufospro
0
185
Member Avatar for aint

is it possible to use the variable list from a function? here is an example? is it possible to call alist with its last used content? [CODE] def example(a): alist=[] alist.append(a) print alist example(1) print alist [/CODE] thanks

Member Avatar for Gribouillis
0
99
Member Avatar for george61

I need javascript to trigger the combination of ctrl + minus. Is it possible. I need this because the design of the webpage I'm working on is looking much better at 83 % zoom which couldn't be achieved by CSS zoom property in mozzila firefox.

Member Avatar for Taywin
0
232
Member Avatar for programing

Hi , pls i need your help . i write algorithm that calculate prefix average .. sum=0 for i=1:n do sum =suma+a[i] b[i]=sum/i return array b my teacher said , write above code using insted for .. how i can use the other for .. what are your opinion?

Member Avatar for Fbody
0
256
Member Avatar for gwong

Hi all, I am attempting to use the LWP::UserAgent to request a Soap call, and in the response the request returns a TIFF image. When I write the contents out to a file(binary mode), the file also contains header information. How would I go about extracting just the body(TIF image) …

Member Avatar for joemarG11
0
452
Member Avatar for dbirely

Using Visual basic 2008 is the following possible if so how? Min Pts..............Max Points...........Grade 0.....................299..................F 300...................349..................D 350...................399..................C 400...................449..................B 450...................500..................A using two one dimensional arrays (min pts as int and Grade as string) in parallel, can the range of 0 to 299 return F, 300 to 349 return D ...etc?

Member Avatar for dbirely
0
140
Member Avatar for pdk123

Hi, Trying to learn STL. I tried implementing the dynamic array with the STL. I wrote the following code and tried with int array works fine, but when i try with string array input, i get the error..can you please help me, [CODE]#include <iostream> #include <vector> using namespace std; template …

Member Avatar for pdk123
0
188
Member Avatar for tKc

I am trying to learn parameters by reference. In my code i try to compute the sum between 1 and n. This is what i got so far and if i input 5 it outputs a extremely high number. Any suggestions? [CODE] #include <iostream> #include <cmath> using namespace std; void …

Member Avatar for csurfer
0
133
Member Avatar for stonest123

Hi, I'm trying to query a database to pull out all results from the database where the location and server responsible are selected from a form on a previous page which are then posted over. I can manage to post the selections from the form, but when it attempts to …

Member Avatar for stonest123
0
2K
Member Avatar for ace8957

Hi all, So I'm working on this program to detect if the w' in a string in the form of w$w' satisfies the condition that w' is the reverse of w. The only problem is that I have a logic error that I don't understand. If I input the string …

Member Avatar for ace8957
0
235
Member Avatar for danish_izads

[CODE]#include<fstream.h> #include<stdio.h> #include<string.h> char num; int don; class sudoku { public: void putin(); int retchar(); void putout(); char name[30]; int a1,a2,a3,a4,a5,a6,a7,a8,a9,b1,b2,b3,b4,b5,b6,b7,b8,b9,c1,c2,c3,c4,c5,c6,c7,c8,c9,d1,d2,d3,d4,d5,d6,d7,d8,d9,e1,e2,e3,e4,e5,e6,e7,e8,e9,f1,f2,f3,f4,f5,f6,f7,f8,f9,g1,g2,g3,g4,g5,g6,g7,g8,g9,h1,h4,h2,h3,h5,h6,h7,h8,h9,i1,i2,i3,i4,i5,i6,i7,i8,i9; }; void sudoku::putin() { cout<<"\nEnter the Character of Sudoku "; cin>>num; cout<<"\nEnter the Name of Sudoku "; gets(name); cout<<"\nEnter the Values of first row "; cin>>a1>>a2>>a3>>a4>>a5>>a6>>a7>>a8>>a9; cout<<"\nEnter the Values …

Member Avatar for danish_izads
0
183
Member Avatar for hunter8

Keep getting following page error on my laptop but not on my desktop can anyone help . unable to get complete web page Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB6.5; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR …

Member Avatar for Taywin
0
90
Member Avatar for pradeepc1

Hello all, 1) I want to know how to use the serial component in the toolbox of VB2008 express edition. 2) I want to how to plot a graph in VB2008 express edition.

Member Avatar for anandharaajan
0
227
Member Avatar for punchinello

[CODE]class HRException { public: HRException() : m_pMessage("") {} virtual ~HRException() {} HRException(const char *pMessage) : m_pMessage(pMessage) {} const char * what() { return m_pMessage; } private: const char *m_pMessage; };[/CODE] It's a definition of an exception class I guess. How does the colon and the following "m_pMessage("")" work? Why does …

Member Avatar for punchinello
0
133
Member Avatar for deepak.hm123

Somone please help me writing a code for "Reverse a word in a String" in c.. Ex: My name is XYZ o/p:XYZ is name My

Member Avatar for N1GHTS
0
214
Member Avatar for koduruabhinav

hi,i was a beginner in java i have a doubt. we use import to use the predefined classes. we can also use package for importing classes. import java.lang.*; package java.lang.*; [B] what is the difference between imports and package at what time we have to use differently.[/B] plese try to …

Member Avatar for koduruabhinav
0
132
Member Avatar for samp4ever

Hi everybody, I'm doing a simple client server communication system. The client have to send in a TCP socket a couple of strings and the server receive them, then have to search in a buffer if a category is similar to even just one of the strings sent by the …

Member Avatar for samp4ever
0
700
Member Avatar for claudiordgz

Hi guys, I'm new at C++ and I'm learning the basics on binary files This is what I've done: 1.- I created a class Criminal with basic data (age, crime type, criminal name) [CODE] class Criminal { private: int vnSerie; char vNombre[ 36 ]; char vtCrimen[ 20 ]; int vEdad; …

Member Avatar for Ketsuekiame
0
191
Member Avatar for manaila

Hi I'm new to Java and I was dealing with the creation of packages. Suppose I have the following two source files which I want to put in one package called [B]mypackage[/B]. The two source files are in the (Linux) directory: [B][I]/home/user/workspace/mypackage[/I][/B]. [CODE] package mypackage; public class HelloWorld { public …

Member Avatar for Shanki87
0
139
Member Avatar for joss23

Create an array of Strings, each containing one of the top 10 reasons that users like in programming with Java as listed below. Prompt a user to enter a number from 1 to 10, convert the number to an integer, and then use the integer to display one of the …

Member Avatar for joss23
0
109
Member Avatar for Dark_Omen

Hello, I am trying to read this xml file. But whenever I get to the load part of it, it gives me this error: "[size=1][size=2]The data at the root level is invalid. Line 1, position 1"[/size] [/size] [size=1][size=2]This is the code I am working with:[/size][/size] [size=1][size=2][code][/size][/size] [size=1][size=2][color=#0000ff]public[/color][/size][size=2][color=#0000ff]static[/color][/size][size=2] Response Message([/size][size=2][color=#0000ff]string[/color][/size][size=2] doc)[/size][/size] …

Member Avatar for bbauraj
0
634
Member Avatar for Dr.Del

Hi, I am a pastor of a small church. I am 67 years old. I am trying to learn to program an address book for our church lay people. I am using the a book titled, “Beginning Visual Basic 6 Database Programming” by John Connell. I managed to get along …

Member Avatar for Mohidul
0
202
Member Avatar for DrViolet

I have an ajax paginate part in my php file. I don't need to have every page remembered by the back button, but at least the last visited. In Firefox this works great. For example, I go to page 5, ajax changes the content and page number 5 is highlighted. …

Member Avatar for Airshow
0
102
Member Avatar for G33KKitty

hey guys i was wondering if anyone knew of any tutorials on how to get Python to read and open a XML text file? any help would be much appreciated as i cant seem to find anythign!!! kitty

Member Avatar for Gribouillis
0
97
Member Avatar for ftl25

Hi, Can anyone advise a good ER modelling tutorial/book or program? It is very time consuming to do ER diagrams in word. Also, has anyone else has come across the 'Pet Practice' database modelling problem? Thanks.

0
58
Member Avatar for riahc3

Im wondering how do I correctly generate a random number in Java. Sometimes it gives me a negative, positive, very small range ,etc. Id like a simple formula that can give me some examples to control this better. Thank you very much.

Member Avatar for tong1
0
156

The End.