132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for dlayante

Please correct me if there's something wrong with my codes...It already have SQL Database connection and I successfully display my record from the database.... Please help me...here's so far I have...I need codes for data manipulation adding/edit/delete records....im using C#Windows Application THANK YOU...you're a big help... using System; using System.Collections.Generic; …

Software Development dataset sql windows-server
Member Avatar for Ramy Mahrous
0
118
Member Avatar for bussumarus

I'm having a small problem with debugging my application in VS C++. When I pass in a single parameter, the debugger insists 2 parameters have been passed in. The first parameter is invariably "d" and the second parameter is always the first character of whatever I pass in. Further, if …

Software Development c++
Member Avatar for bussumarus
0
85
Member Avatar for hacker9801

If you use the new operator on a class, say [code=c++]class dummy { public: string f; }; int main(int argc, char *argv[]) { dummy *p = new dummy; return 0; }[/code] do you have to use the delete operator on [icode]p[/icode]? (since, apparently, it utilizes new.)

Software Development c++
Member Avatar for hacker9801
0
92
Member Avatar for Alex Edwards

This isn't exactly a thread about a particular question, but a thread that may help people with memory dynamically allocated/deallocated during runtime. The below example goes over pointers in multiple dimensions-- [code=c++] #include <cstdlib> #include <iostream> /** This program can be used to determine whether pointers are deleted or not …

Software Development c++
Member Avatar for vijayan121
0
102
Member Avatar for zoner7

I've always used the Dev C++ compiler; however, I keep hearing how the software has little support. Additionally, I have heard people praise the debugger of Visual C++. So, end result, I'm deciding to switch from one to the other. My only problem now is that I can't make the …

Software Development c++ visual-studio
Member Avatar for zoner7
0
108
Member Avatar for Person1873

i'm relatively new to coding, i only started java this year and C++ last year, i decided i wanted to tackle minesweeper, my only issue is putting all the buttons on screen, my computer-science class uses java that's a little outdated so please excuse this, here's my code, could someone …

Software Development java
Member Avatar for Person1873
0
126
Member Avatar for salman213

Hi, I was recently reading a tutorial on C++ and I had a question about dynamic memory. The first paragraph of the tutorial stated the following: [I] "Until now, in all our programs, we have only had as much memory available as we declared for our variables, having the size …

Software Development c++
Member Avatar for Cait
0
104
Member Avatar for lllllIllIlllI

Hi I have made a program with wxPython and i have this bit of code: [code=python] def getpic(self,event,urlp='http://mirror.bom.gov.au/radar/IDR043.gif?20080427173538'): fc = url.urlretrieve(urlp,filename='Weather.jpg') image_file = 'Weather.jpg' self.bmp = wx.Bitmap(image_file) self.img = wx.StaticBitmap(self.background, wx.ID_ANY, self.bmp, pos = (20, 60)) self.background.SetInitialSize() [/code] This is a bit of my code, not the full thing but …

Software Development python
Member Avatar for lllllIllIlllI
0
570
Member Avatar for champnim

I am making a C program to send AT commands to a mobile phone from my pc. In that, I want it to dial a number but after a delay of some time say 10 minutes. How should I do this(I am using WriteFile command to send the dial command …

Software Development c
Member Avatar for champnim
0
284
Member Avatar for parmenio79

I have a list of document pages with indicators where each document begins "ND": [CODE] Page1,ND Page2, Page3, Page4,ND Page5, [/CODE] I am trying to format it so that I have a two column csv with the first and last page: [CODE] Page1, Page3 Page4, Page5 etc [/CODE] I cannot …

Software Development python
Member Avatar for rikxik
0
90
Member Avatar for swills

Could anyone please tell me a good place to start in making a generic and customizable media player in python. perhaps a tutorial on how to. I can't find much except for already completed media players by other people. I think it would be ideal for my college project, however …

Software Development python
Member Avatar for swills
0
140
Member Avatar for sambafriends

sorry, my eng is not good that much I am trying to run this program I am getting a strange result when I press 'a' through keyboard switch is running twice automatically for first time it is going to perfect case then second time it's going to default case [code=c] …

Software Development c
Member Avatar for manavsm
0
163
Member Avatar for meanmachine

i just finished 3rd year in computer science and engineering from amity university noida. however i am doing summer training with a company in rudrapur. the project i got was to develop a software using vb.net to keep track of all attendace records whose input is given through magnetic card …

Software Development engineering vb.net visual-basic
Member Avatar for Jx_Man
0
107
Member Avatar for JackDurden

I need some help keeping track of letters the user inputs. With my current code it only outputs one letter at a time of the word to be guessed. Can anyone help? #include <iostream> #include <fstream> #include <string> #include <iomanip> #include <time.h> using namespace std; void Hangman(); void LeftArm(); void …

Software Development c++
Member Avatar for VernonDozier
0
88
Member Avatar for tigerkartik

hi im in third year of my engineering and have started on my summer holidays ..........i want to know whether to learn java or .NET

Software Development engineering java
Member Avatar for icorey
0
84
Member Avatar for axn

display output on one line. this is a exerpt from my kshell script cat <filename> |egrep -v Pattern1|egrep -v Pattern2|egrep -v Pattern3 |egrep -v Pattern3 which displays Name=john, Age=24, Occupation=Sales Name=mike, Age=34, Occupation=Unemployed Name=mike, Age=34, Occupation=Unemployed Name=mike, Age=34, Occupation=Unemployed would like to get em all on one line with or …

Software Development display shell-scripting
Member Avatar for eggi
0
87
Member Avatar for mjuras

I need to dynamically create and persist the state of ActiveX controls. The Visual Studio designer can do this at design time, but I need to be able to do it at run time. I need some pointers on how to dynamically load a control into an AxHost wrapper and …

Software Development visual-studio
Member Avatar for mjuras
0
282
Member Avatar for raul15791

Hi, I've been given the following task: 1. Read some .h header files from a few different folder in different directories. 2. Extract only the functions in the files and store all of them into a single text file. 3. Repeat the step 1 and 2 again but extract info …

Software Development c++
Member Avatar for raul15791
0
606
Member Avatar for franziss

Hi I am new to Python, I would like to inquire why the script below can't use fileHandle.readline() I am trying to store the data in an input file into a structure, but I am not sure why line = file.readline() fails ? The structure contains mode. Each mode contains …

Software Development data-structure python
Member Avatar for woooee
0
157
Member Avatar for Noe'

How to setup Borland C++ IDE Environment? I've loaded the Borland C++, it went ok. Now what of the environment and the libraries, includes, and source directories. Apparently, the obvious isn't working. The following is how I have things set: Includes: c:\bc5\include ; c:\bc5\cpk6501\cpk6501\inc Library: c:\bc5\lib ; c:\bc5\cpk6501\cpk6501\lib Source: c:\bc5\output\intermed …

Software Development c++ ide open-source
Member Avatar for tesuji
0
234
Member Avatar for dreamuser

I get a "Debug Assertion Failed" when I go to run my program. More specifically it says "Expression: _BLOCK_TYPE_IS_VALID(pHead->nBlockUse)". I assume this is because I'm using pointers incorrectly. Here is some information about the assignment: [quote]A file contains text representing a prioritized collection of messages. The messages were received one …

Software Development c++
0
72
Member Avatar for manavsm

when i am entering name and roll no only the last name and rollno is displayed and rest is not....i unable to detect where i went wrong and also ...deletion operation is also not working.........and ya i want to try this using linked list...plz i have to do this ne …

Software Development c linked-list
Member Avatar for jephthah
0
110
Member Avatar for darklich13

I've got a small little program that I'm trying to write that converts a base10 number to a base2. For some reason my instructor wants us to use stack on this. I've got most of it done but I'm having trouble trying to get the stack converted to an int …

Software Development java java-swing
Member Avatar for darklich13
0
132
Member Avatar for ninjaimp

hi i am just starting with vb.net and have set a connection to an existing access db that i have and am able to get the data displayed on a form. my problem lies where as i want to setup a basic search. i have added a query to a …

Software Development dataset sql vb.net
Member Avatar for ninjaimp
0
112
Member Avatar for Software guy

Hi, i am little confused in usage of strtok() syntax. Basically , i extracted the source code of a webpage using Java and now i have to remove all the extra tags inside the html page so i can have clear text. For example a simple HTML page is like …

Software Development c
Member Avatar for Software guy
0
222
Member Avatar for new_2_java

Hi all, I have to write a program which utilizes threads. In my program I have to connect to a Database and execute a massive number of UPDATES on a table--arround 2000 to 5000 records needs to be updated. I am planning to use threads. So, I can spawn multiple …

Software Development java
Member Avatar for new_2_java
0
112
Member Avatar for Alex Edwards

Is there a website that has some kind of GUI or application that allows users to enter statements like-- delete delete [] for... n elements... delete arr[n] --etc so that they can learn good memory management? I sifted around some free ebook sites and found one but the link to …

Software Development c++ gui
Member Avatar for mitrmkar
0
115
Member Avatar for Nemoticchigga

I have a program with a bunch of threads running. I kill them all at the end of the program. I have stepped through and seen them all abort. Is there a way to see (since I cant when stepping through) which thread it is? I can see the process …

Software Development c++
Member Avatar for Alex Edwards
0
85
Member Avatar for Sukhbir

Hi All, If i have choice to either use simple array(char a[]) or map. Which one i shall use, whether array or map. i need to know wich technique will give better performance. As per my requirement i will insert the element in array/map, find the element based on index. …

Software Development c++
Member Avatar for Alex Edwards
0
4K
Member Avatar for daviddoria

I have a function double Max(vector<geom_Point3> &Points, int n); Then in another class, I have a private member: vector<geom_Point3> Vertices_; and in a class function, I call: min_x = Min(Vertices_, 0); however, I get [code] error: qualifiers dropped in binding reference of type "std::vector<geom_Point3, std::allocator<geom_Point3>> &" to initializer of type …

Software Development c++
Member Avatar for vijayan121
0
5K
Member Avatar for Siten0308

Hello, I am new to C#, very new, i started actually right after getting done learning queries and stuff from SQL 2005, two questions, first i am writing out a simple program where you click on a button and it plays the wav file with the path already within the …

Software Development
Member Avatar for Jx_Man
0
107
Member Avatar for Utter_iMADNESS

Hello, I'm trying to make a code that acts as a simple menu for a number of programs. What I was wondering was how do I include the .ccp files and run them in the menu program. Here's what I have so far: [code] #include <stdio.h> #include <stdlib.h> #include "1.cpp" …

Software Development c
Member Avatar for Utter_iMADNESS
0
97
Member Avatar for jaytheguru

Hello all, I am having endless problems with the peice of software i am trying to develop. Firstly I couldn't colour the rows of the datagrid and when i was able to do that I couldn't make it work only for one single row instead it colours the whole datagrid …

Software Development vb.net
0
192
Member Avatar for Thew

Hello, I need help to solve the problem in my app that uses structs. I have for example this struct: [CODE] struct SimpleStruct { SimpleStruct(): hasVars(false){} ~SimpleStruct(); AnotherStruct SimpleVariable; bool hasVars; }; [/CODE] and in the code, initializing this struct goes ok, but when the class, that has this struct …

Software Development c++
Member Avatar for Thew
0
149
Member Avatar for ravikiran032

i am not able to execute applets. i have written the following program. [I][B]import java.awt.*; import java.applet.*; /* <applet code="sampleapplet" width=200 height=60> </applet> */ public class sampleapplet extends Applet { public void paint(Graphics g) { g.drawString("simple applet",30,30); } } [/B][/I]:?: javac sampleapplet.java appletviewer sampleapplet [B][U]The following error is displayed:[/U][/B] [COLOR="#ff0000"] …

Software Development java
Member Avatar for kumarprabu
0
3K
Member Avatar for alexisellis

Hi All, I am in the process of learning python. I have a gui that gives the user the option of selecting between two applications to run. Currently each button calls one of these two modules (another python script), using the import command. Since it takes a few minutes for …

Software Development gui os-x python tkinter
Member Avatar for lllllIllIlllI
0
127
Member Avatar for njoka

Any one can help on how to delete a particular string from the contents in a document file

Software Development vb.net
Member Avatar for waynespangler
0
122
Member Avatar for jainendra.shah

hi frds, I want to establish relation between two table. I select both and got table name and field name . After this i have no idea how to form relation b/w that table. If you have any clue plz provide. thanks.

Software Development
Member Avatar for maciek
0
124
Member Avatar for hepoo911

I never use C# .net 2005, How i can open .exe file that actualy run in DOS and get the data and print it on .txt file. the way is I write the names of .exe file and I press the button and I can see everything one time.

Software Development c#
Member Avatar for kathirvelmm
0
94
Member Avatar for QuantNeeds

Hello I am trying to write a program that prompts the user for 3 test scores, averages the 3 test scores, and keeps repeating until the user enters "N". My problem is that I am creating the average and exam scores as data type double but in order to check …

Software Development c++
Member Avatar for QuantNeeds
0
132
Member Avatar for Mr.UNOwen

Hello, I'm new to C++ and I need help figuring out how to send information to the rs232 port. It's going to be one way communication (PC to device). I've tried reading other tutorials, but none of them clearly explain what's going on in each part, so I often get …

Software Development c++
Member Avatar for Mr.UNOwen
0
237
Member Avatar for cb02061

Hi, I have been created a tab control in dialog box (we called as Dialog Main). I add 3 frameless dialog box (we called as dialog A, Dialog B, Dialog C) in the tab control. The tab control working fine. I add three button (OK button, Cancel button ,Apply Button) …

Software Development c++
Member Avatar for cb02061
0
379
Member Avatar for Tyreses

Would anyone happen to know A. The header file for standard winsock use and B. a helpfull tutorial on basic winsock client/listen string transfer? Help is much appreciated, thankyou.

Software Development c c# c++
Member Avatar for Flamingkat
0
115
Member Avatar for jacobi

Except for this one problem I have created a board game in VB6. There are four red pieces and one blue, with the board as per chequers, only the white squares in use. The sqaures are in an indexed control array (0 to 63) with only the white squares enabled. …

Software Development visual-basic
Member Avatar for jacobi
0
191
Member Avatar for Ravenous Wolf

hi. can anyone tell me the connectionstring for connecting to an ms access database over a network? only the second part, where you specify the location of the database, is needed. i know how to specify the jet engin. let me give an example. to connect to a local dbs …

Software Development
Member Avatar for miskeen
0
468
Member Avatar for Nemoticchigga

I want to read each line of text file and store each line into a giant buffer so I can look at all the contents. How would I do this? [CODE]int _tmain(int argc, _TCHAR* argv[]) { ifstream indata; // indata is like cin indata.open("example.txt"); // opens the file if(!indata) { …

Software Development c++ file-system
Member Avatar for Lerner
0
114
Member Avatar for asciiman

Hi all, [code] class: FileCheck(object): def checkFiles(install_vers=None, uninstall_vers=None): if uninstall_vers != None or install_vers != None: if uninstall_vers != None: for ver in uninstall_vers: print "checking %s" % ver if install_vers != None: for ver in install_vers: pass print "done" if __name__ == "__main__": check = FileCheck() check.checkFiles(uninstall_vers=["1.0","1.3"]) [/code] I'm …

Software Development python
Member Avatar for asciiman
0
2K
Member Avatar for moogle1979

I do not know if this has ever been asked in C before but I have a floating point variable like this: [code] while (fCost <= 0.0) { printf("\n\tKudler Fine Foods 'Sales Tax Calculator'\t\n"); printf("\nPlease enter your sub-total:\n"); //allows customer to enter sub-total scanf("\n%f", &fCost); } [/code] note the variable …

Software Development c
Member Avatar for moogle1979
0
320
Member Avatar for ninjaimp

HI I have an application that contains certain editable fields (textboxs) and what i want to do is know when someone has changed or entered new text. What i done was in the 'TextChanged' part of a text box was this: Private Sub txtCNotes_TextChanged(ByVal sender As System.Object, ByVal e As …

Software Development vb.net
Member Avatar for waynespangler
0
118
Member Avatar for vidaj

Hello. I have been reading this forum for quite some time, and this is my first post. I often have the need to dynamically allocate memory for arrays with multiple dimensions. In my opinion I find it quite ugly to litter the code with multiple for-loops and mallocs every time …

Software Development c
Member Avatar for jephthah
0
270

The End.