132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for teppuus

Hello, I am having trouble creating a double linked list within an array of pointers. Right now actually, I am just trying to make a linked list. Line 267 is where I get a complier error. I understand the error (cannot convert `std::string' to `wordList*' in assignment ), but I …

Software Development c++ data-structure file-stream linked-list
Member Avatar for teppuus
0
138
Member Avatar for ashishprem

Hi I need to insert a string in a database but the string might or might not contain a quotes('). There is no problem if there is no quotes. But in case of quotes it throws a syntax error in insert statement and that obvious also. What i am thinking …

Software Development sql visual-basic
Member Avatar for jireh
0
117
Member Avatar for MagicBytes

Hello, I wish to create a document in a word processor with all the formating etc and save it, then I wish to drop this document on to my form in some control or object so it is hidden from the end user then I wish to load the hidden …

Software Development visual-basic
Member Avatar for technogeek_42
0
151
Member Avatar for newto_vb

hi, I have around 10 check box, i want a report which displays checked checkbox. If i select 5 out of 10 check box it should display 5 columns data in a single report. please provide logic for this. thanks

Software Development visual-basic
Member Avatar for technogeek_42
0
74
Member Avatar for toolmanx

I'm running AMD, XP Service Pack 1 Compiling with a .cpp extension using Borland Bcc32 I'm trying to teach myself how to use File Mapping. This is just the pertinent parts of my program. Any file can be used for lpstrFile. I'm presently using a .txt file for testing, but …

Software Development api c++ file-system
Member Avatar for toolmanx
0
137
Member Avatar for saytri

I am doing a quiz where the user can choose from 3 different quizzez. My tutor told me to use binary files to store the questions. I have succesful done this. The answers are stored in an array. My problem is with a for loop that i have done, to …

Software Development file-stream java java-swing
Member Avatar for peter_budo
0
116
Member Avatar for zprise

Simple for others , not for me. How do you allocate memory for an array of pointers, each pointer pointing on a string. The problem is , that the size of the array could change depending on the number of strings the user wants to enter. This needs to be …

Software Development c++
Member Avatar for Ancient Dragon
0
113
Member Avatar for loneal

Before I start, please excuse any mistakes I make in nomenclature. I am a beginner at this MFC stuff. I am writing a transaction server and trying to use CListView to display the status of the multiple client threads I've got going. I've got it to where the columns of …

Software Development c++ client-server display
Member Avatar for loneal
0
106
Member Avatar for Adami

I need to create a static boolean method, boolean isValid(String str) which gets a string and check the brackets in it... a correct expression is an expression as one of the following: 1) an empty string or a string that includes space only in it. 2) st1 +"" +st2, which …

Software Development java
Member Avatar for iamthwee
0
95
Member Avatar for Racoon200

Hi. I would like to know how to get the position of the cursor (blinking line in any text control) to insert there a string. I would also like to know how to get the value of a text widget and store it in a variable.

Software Development python tkinter
Member Avatar for Racoon200
0
6K
Member Avatar for Adami

[CODE]public static boolean what (Node n) { if (n == null) return true; if (n.getLeftSon()==null && n.getRightSon()==null) return true; if (n.getRightSon()==null) return (n.getNumber() % n.getLeftSon().getNumber() == 0) && what (n.getLeftSon()); if (n.getLeftSon()==null) return (n.getNumber() % n.getRightSon().getNumber() == 0) && what (n.getRightSon()); return (n.getNumber() % n.getLeftSon().getNumber() == 0) && (n.getNumber() % …

Software Development java
Member Avatar for javaAddict
0
287
Member Avatar for groundy

hi guys...my code works fine, just when i want to put a longer path as input my programm chrashed... maybe the buffer for my string path; is too small? how can i handle this? C:\test.txt works fine but when the input is like that C:\Dokumente und Einstellungen\xxxxx\Desktop\test.txt it will chrash …

Software Development c++
Member Avatar for groundy
0
93
Member Avatar for mm-marek

Hi, im newbie in C, now I want to make a program which can search something in file (now it will be two letter word) I want to command it from cmd by [B][I]test text.txt ab[/I][/B] i have a problem with argv filed, everytime when i run this script it …

Software Development c++
Member Avatar for mm-marek
0
226
Member Avatar for prashant.jnu

Dear All, Well I am not very much new in perl but some time i write codes according to my need . Actually I am working in computational chemistry field . I have a protein data bank file and it had many columns like create a text file having different …

Software Development perl
Member Avatar for KevinADC
0
70
Member Avatar for saygham

Please i am new in java and i need some help about how i can make appointment calendar as a java application by using java thanks

Software Development java
Member Avatar for peter_budo
0
2K
Member Avatar for Webbsta

I'm having a hard time trying to figure out how to use my DLL in my application, i just started off with a very basic DLL so i can figure out how to get it working before i use a DLL in my applications, in my DLL i have this: …

Software Development vb.net
Member Avatar for Webbsta
0
110
Member Avatar for daniyal_riaz

hi everyone......... i need a c++ program that can help me in chatting through serial port from one pc to another........ only i want to sen and recieve charactors.......... thank you........

Software Development c++
Member Avatar for dot.muffin
0
493
Member Avatar for CoolGamer48

Hey, I'm trying to learn DirectX from this book ([I]Beginning Game Design[/I] by John S. Harbour, if anyone knows the book). I keep getting a LNK2019 error because [ICODE]Direct3DCreate9(D3D_SDK_VERSION)[/ICODE] is an "unresolved external symbol". Based on my slightly limited knowledge on libraries and include files and a little of my …

Software Development c++
Member Avatar for CoolGamer48
0
169
Member Avatar for newcountry

Hi all, How i can convert decimal number into binary, using register mode and format 2. If, for example, you were to run the code and give it 5 as its input it should output 101. !format = 2 !mode = REGISTER

Software Development assembly
Member Avatar for zifr
0
432
Member Avatar for Mini_The_Great

I used to program wuite often with C++, but then I stopped and now I have started again, ym problem is with a dll im making: DLL.H [code=cpp] #ifndef _DLL_H_ #define _DLL_H_ /* Begin User-Defined */ #define export extern "C" __declspec (dllexport) /* End User Defined */ #if BUILDING_DLL # …

Software Development c++
Member Avatar for Mini_The_Great
0
3K
Member Avatar for mrmgh

help me with invert matrix(max 100*100)

Software Development c++
Member Avatar for Salem
0
87
Member Avatar for Mustey

I am sorry if I am in the wrong forum. I'm just kind of desperate... I had to work this week and didn't know my class has started to study C++. Anyway, it's a "gifted" children program and we have some homework which I need some help on. I am …

Software Development c++
Member Avatar for Mustey
0
98
Member Avatar for Derice

HI, i am new in VB. I would like to know whether VB have API like Java? Where i can search through API/documents to know the function of any built-in function or is there any website that provide information for all the build in VB functions? It is possible to …

Software Development api flash java visual-basic
Member Avatar for Jx_Man
0
107
Member Avatar for CoolGamer48

Hey, just wondering - I've seen numbers like 1.0f in examples and in books, but what does the 'f' mean? Does it just mean that the number is a floating point number? And does including/excluding it change anything?

Software Development c++
Member Avatar for ShawnCplus
0
142
Member Avatar for omotoyosi

HELLO GREAT PROGRAMMERS!!!! I AM CRYING FOR HELP. AM TIRED OF THIS PROGRAMME PLS HELP ME OUT WITH IT. I DEVELOPED A FORM PROGRAMME BUT AFTER SAVING IT AND I WANT TO BUILD IT.. IT FAILED TO BUILD AND BRINGS THIS ERROR!!!! "An attempt to attach an auto-named database for …

Software Development vb.net visual-studio
Member Avatar for emurf
0
137
Member Avatar for saravanan_

Hi Friends, Pls, help in finding the solution for the following problem, I am working in solaris environment. i am trying to compile my c program using "cc" compiler, i getting the following error msg, cc: illegal suffix of output filename **Error code 1 Thanks in advance........

Software Development c++
Member Avatar for Salem
0
186
Member Avatar for Samuel Taylor

How can I easily generate a Unique ID in C++, compiling using gcc Cheers Samuel

Software Development c++
Member Avatar for Salem
0
2K
Member Avatar for C++masterinneed

[code=c++] void winerys::info(winerys & wine) { ofstream outfile("page.txt"); node *temp; temp = new node; cout << "please enter date the winery went into business" << endl; cin >> temp->start; cout << "please enter the loaction of winery" << endl; cin >> temp->name; cout << "plese enter the name of winery …

Software Development c c# c++ linked-list
Member Avatar for Ancient Dragon
0
102
Member Avatar for cesarcesar

Hi, XML novice here with another question. I need to add a XML node like, [code] <child01> <child02> <text></text> <image>image 1</image> <image>image 2</image> </child02> </child01> [/code] into this node between the ending </child01> and beginning <child01> of the [code] <child01> <child02> <text></text> <image>image 1</image> <image>image 2</image> </child02> </child01> <child01> <child02> …

Software Development xml
Member Avatar for cesarcesar
0
92
Member Avatar for rmansuri

Hello Pythoner, I have found good website which is list of almost all python website including beginner to advance level tutorial.. Jst thought to share with community. [COLOR="Green"][URL="http://python.objectis.net"]http://python.objectis.net[/URL][/COLOR]

Software Development python
Member Avatar for vegaseat
0
112
Member Avatar for syaorankun

hi, a hard-working but horribly lost cs major here. i'm working on a script that does global renaming using find, awk, and sed, which has wildcard inputs. i'm wondering if there's any way to strip the asterisk from the input and save it to some variable, say $str1 or just …

Software Development shell-scripting
Member Avatar for masijade
0
372
Member Avatar for zprise

Hello! in a case where int a=5; if((!a)++) or (++(!a)) gives me an error message saying that the operator ++ requires l-value, but the boolian result of if (!a++) is false. If someone would be so kind to explain this!

Software Development c++
Member Avatar for Ancient Dragon
0
152
Member Avatar for altzaportu

Well, if I introduce the date 29/01/2008 in the next code, a window appears with the message "Proyect project1.exe raised exception class EconvertError with message “2008/01/29’ is not a valid date’. Process stopped . Use Step or Run to continue." [ICODE]repeat writeln(' Introduce the day'); readln(day1); until(day1>'0')and(day1<'32'); repeat writeln(' Introduce …

Software Development pascal
Member Avatar for Duoas
0
132
Member Avatar for Texag02

I'm new here, I did a search, but couldn't find anything that fixed my problm. Just built a new P(my first build)... here's the components: Motherboard: GIGABYTE GA-MA770-DS3 AM2+/AM2 [URL="http://www.newegg.com/Product/Produc...82E16813128081"]http://www.newegg.com/Product/Produc...82E16813128081[/URL] Processor: AMD Athlon 64 X2 6400+ Windsor 3.2GHz Socket AM2 [URL="http://www.newegg.com/Product/Produc...82E16819103228"]http://www.newegg.com/Product/Produc...82E16819103228[/URL] Video Card: EVGA 512-P3-N841-A3 GeForce 8800GTS (G92) 512MB [URL="http://www.newegg.com/Product/Produc...82E16814130312"]http://www.newegg.com/Product/Produc...82E16814130312[/URL] …

Member Avatar for Texag02
0
305
Member Avatar for zawpai

Hi, Does anyone want to give me a hand? I gets a small problem in my code. I want to make the mouse pointer is disappeared while pressing 'Alt' key. Otherwise, the pointer should reappear. I use ShowCursor API to do it, but I meet the problem. If I run …

Software Development api visual-basic
Member Avatar for zawpai
0
225
Member Avatar for teppuus

Hello, I wanted to post some code with line numbers and can't figure out how to do this. I searched the FAQ, and tried [list=1], but it didn't turn out right. I would hate to manually insert line numbers in my code. Can anybody help or point me in the …

Software Development c++
Member Avatar for teppuus
0
82
Member Avatar for groundy

HI Guys, i am trying to develop a c++ programm, that accept a path to a .txt file from the user to read it, make it lowercase, sort it and give the output in the concole. and some other functions later... Now my problem is, that i dont know how …

Software Development c++
Member Avatar for Ancient Dragon
0
94
Member Avatar for sgw

I'm completely new to using compilers such as Borland Turbo C++ or MS Visual C++ to create and run C++ programs. They both involve "form" and "projects". Could some kind folks tell me how exactly to create, compile and run a simple program in such environments? In other words, I …

Software Development c++
Member Avatar for sgw
0
124
Member Avatar for CoolGamer48

Hey - does anyone know how to create a .exe file with Visual C++ express? Thanks.

Software Development c++
Member Avatar for Ancient Dragon
0
141
Member Avatar for Racoon200

I get this error when uploading a file with the ftplib via storbinary method after retrieving a file via retr method. Why does it happen and how can I fix it?

Software Development python
Member Avatar for Racoon200
0
2K
Member Avatar for iamthwee

Hi, I'm using winxp with the latest version of Dev-cpp (none of that dotnet please) and I was wondering what is the easiest way to send an email. Are there any libraries I could use?

Software Development c c# c++ email
Member Avatar for iamthwee
0
328
Member Avatar for macbrutal

Private Sub Command1_Click() Dim namefile As String namefile = Text1.Text Open App.Path & "\Accounts\" + namefile + ".txt" For Output As #1 Print #1, Text1.Text Print #1, Text2.Text Print #1, Text3.Text Print #1, Text4.Text Close #1 MsgBox "Thank you for your registration, please login!" Form2.Show Form1.Hide End Sub -------------------------------------------------------------------------- That's …

Software Development visual-basic
Member Avatar for macbrutal
0
102
Member Avatar for k2k

Anybody please show how to convert a string, for example in a text doc, to an int... and then maybe add 1 and show total output. text.doc could simply contain I have 3 apple. output: 4 this is my try, i know i used atoi() incorrectly.. please show how to …

Software Development apple c++ visual-studio
Member Avatar for iamthwee
0
271
Member Avatar for iTTaleem

Hi Every one , on monday i have to submit my assignment i need ur help in this regard make a label box in vb one label box and only one and one text button okay so, when the user clicks on the next button a question should display in …

Software Development visual-basic
Member Avatar for hawisme000
0
101
Member Avatar for majestic0110

Hi all, just would like to ask some help as to how I would go about modifying this code I created to do the following: 1 - need user input (in password field) to be echoed back as *******. 2 - need the class to open a new class (lets …

Software Development
Member Avatar for majestic0110
0
231
Member Avatar for kelvinskk

Hi, I'm using fedora core and i'm trying to write a c++ program to read the ESSID of my current wireless connection. Is there a way to do so? KiaN

Software Development c c# c++
Member Avatar for kelvinskk
0
122
Member Avatar for Jessyi

hello i have a project that is due in 2 days and i need help immediatly i just need the steps i have to do to solve the following: "Write a program to compute numeric grades for a course. The course records are in a file that will serve as …

Software Development c++
Member Avatar for Ancient Dragon
0
240
Member Avatar for jarhead741

Hi, i've tried to get my quicksort to work, but i think because i have been looking at it for so long i cant see the problem with it so if someone can spot my mistake that would be great! [code=cpp]int parttition(int myArray[],int first, int last); void quicksort(int myArray[],int first, …

Software Development c++
Member Avatar for jarhead741
0
95
Member Avatar for gallantmon1

Does anyone know how to put a whitespace or a newline in a .txt file??? By this I mean, I have this long string, and I have to put whitespaces and new lines to make it understandable. To summarize, I just want to know what functions will be effective to …

Software Development c
Member Avatar for gallantmon1
0
154
Member Avatar for tootypegs

Hi i use borland c++ builder as my c++ compiler. As a default option you can use a form defined as below [code] __fastcall TForm1::TForm1(TComponent* Owner) : TForm(Owner) { } [/code] does anyone know how to get a handle on this form, ive tried always but none with success thanks

Software Development c++
Member Avatar for Duoas
0
301

The End.