132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for poncho4all

Im new on this forum, i don`t really know if this should go hear or somewhere else. If i messed up well sry. Here is the problem im working for the first time in Turbo C, i have this proyect its a simple one but i still need help. The …

Software Development c++
Member Avatar for poncho4all
0
109
Member Avatar for Zetlin

Ok so I was working on file handling, nothing special just making new (.txt) files and putting some text in it. That works fine the problem is that when I try to read the file from within python nothing comes up and when I try to open the file once …

Software Development file-system python
Member Avatar for Zetlin
0
328
Member Avatar for MrNoob

in my switch program keeps reading wrong input also i know i used way too much fflush(stdin); because stupid printf keeps inputting to the screen so scanf gets bad but i m sure i desinged program nice i dunno why when i like enter num 5 it keeps reading artichokes …

Software Development c
Member Avatar for MrNoob
0
152
Member Avatar for Stefano Mtangoo

Hello developers, I have been playing around with C++ and wxWidgets for a little time now and I think it is time to make a little useful program I am planning to make a CD ripper and Encoder (re-inverting the wheel purposely for learning) and I plan to use CDRip.dll …

Software Development audio c++
Member Avatar for Stefano Mtangoo
0
135
Member Avatar for Cloneminds

Alright, my homework assignment is by using separate function definitions convert a temperature from Fahrenheit to Celcius. I've looked over the whole chapter, looked at the examples, and am having trouble somewhere. My program will only convert one temperature correctly to Celcius, which is 32, because it always returns a …

Software Development c++
Member Avatar for Salem
0
112
Member Avatar for goody11

I was making a function to save info and it doesn't work. It's actually made up of 2 functions. I've eliminated my problems down to the second function and can't figure out what to do. Here is the function: [code=cplusplus] void DoFileSave(HWND hwnd) { OPENFILENAME ofn; char szFileName[MAX_PATH] = ""; …

Software Development c++
Member Avatar for goody11
0
289
Member Avatar for akulkarni

[code] not clear with the basics of nullpont error; trying to create student database import java.io.*; class student1 { String name; int id; public void getdata(String name1,int id1) { name=name1; id=id1; } public void putdata() { System.out.println("\t"+id+" "+name); } } class student { public static void main(String args[])throws IOException { …

Software Development java
Member Avatar for JamesCherrill
0
232
Member Avatar for gingank

Hi guy it is possible two table information with same information expect the badge ID display it on one vb datagrid???

Software Development display sql visual-basic
Member Avatar for sengreen
0
99
Member Avatar for cplusplusfool

Please find the details of the code in attachment. I am new c++ student. Please let me know the fault. Regards, Shivi

Software Development c++
Member Avatar for cplusplusfool
0
117
Member Avatar for jakesee

Hi, I have an xml document with the following line: [CODE]<title><![CDATA[HOME & DÉCOR]]></title>[/CODE] this xml document fails in IE7 and IE8 reporting invalid charcter at the E acute. However, FF3 is able to display it correctly. Some online sources suggest that IE is correct in identifying the invalid character. Can …

Software Development xml
Member Avatar for fpmurphy
0
247
Member Avatar for deven_a76

Hello friends, I am new to C# and try to learn the basics. I am getting error [B][I]"error CS0052: Inconsistent accessibility: field the 'Model.Notifier' is less accessible than field 'Model.notifyViews'"[/I][/B] Could you please let me know the error I am getting... [code] using System; using System.Data; class Model { delegate …

Software Development
Member Avatar for deven_a76
0
116
Member Avatar for Krstevski

Hey people, I have a problem with connect to MS Access database... I use C#.NET and MS Access 2002-2003 Here is my code: [CODE] ... using System.Data.OleDb; namespace Потсетник { public partial class Form1 : Form { public OleDbConnection database; public Form1() { InitializeComponent(); string connectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=zapis.mdb"; try …

Software Development microsoft-access open-source
Member Avatar for Ramy Mahrous
0
157
Member Avatar for tuanpq

Hi all, I'm C# newbie, and I having problem with double buffering on transparent control - flicking when draw drag rectangle (see attached file). Can anyone help me? Thanks & rgds,

Software Development
Member Avatar for tuanpq
0
214
Member Avatar for Sazabi02

Hey y'all. I've just started studying C# over a month ago and I was looking for a bunch of exercises that I could use for practice. See, I bought the book "Pro C# 2008 and the .NET 3.5 Platform" and like most comprehensive books, it didn't have any. Can anyone …

Software Development c#
Member Avatar for Sazabi02
0
192
Member Avatar for kangarooblood

what's wrong with this code, when i try to make the pyramid, it's always the same height of the pyramid. and somehow onumber always has the value of 20, WHY??!! Here is the code and I'll also include a picture of how it looks. [CODE=c++] #include <iostream> #include <iomanip> using …

Software Development c++
Member Avatar for Nick Evan
0
117
Member Avatar for rude04

hi guys!!can anyone show me the [B]simplest code[/B] to make a fully [B]transparent form[/B] ([I]only the form[/I]),,i need the[B] labels[/B] and buttons [B]completely visible[/B]..many many thanks!!!:)

Software Development visual-basic
Member Avatar for vb5prgrmr
0
133
Member Avatar for pixelerator

Hello my name is intekhab khab persuing BCA final i have some problem in Visual basic coding as i dont know any thing about Visual basic i know c/c++ php Ajax but i dont familiar with visual basic 6.0.Sir gave me assignment and two days of only please help me …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
155
Member Avatar for ritu verma

ListView Properties- I set MultiSelect to False, LabelEdit to true,FullRowSelect to True. I have Listview with two columns. [B]1) [/B]When I select onw row in listview,On button click i want to get the index of selected row. I m getting it but using for loop,I want to know is there …

Software Development listview vb.net
Member Avatar for babbu
0
104
Member Avatar for emarshah

Hello all, Thanks in advance for any type of help, i want to create a text file from already created textfile, which will have all the "\t" characters replaced with "\n" e.g abc.txt ammar hassan shah naqvi new.txt ammar hassan shah naqvi here is the code i m using, but …

Software Development file-system
Member Avatar for Ramy Mahrous
0
183
Member Avatar for babbu

here is my code Dim oledbcom As New OleDb.OleDbCommand oledbcom.CommandText = ("INSERT INTO Customer Company, Address, Telephone values ?,?,?") oledbcom.Connection = oledbcon Dim oledbparam As OleDb.OleDbParameter = _ oledbcom.Parameters.Add("@Company", OleDb.OleDbType.VarChar, 30) oledbparam.Value = txtCompName.Text.Trim() oledbparam = oledbcom.Parameters.Add("@Address", OleDb.OleDbType.VarChar, 80) oledbparam.Value = txtAddress.Text.Trim oledbparam = oledbcom.Parameters.Add("@Telephone", OleDb.OleDbType.VarChar, 15) oledbparam.Value = txtContact.Text.Trim …

Software Development vb.net
Member Avatar for Teme64
0
98
Member Avatar for sweetsasthi

Hai, We are working in a project which handles lots of data. How many tables can we have in sql server 2000 so that it can be managed efficiently.Is there any rule for separating the tables. We store information like candidate details,interview process.... Thanking in advance

Software Development vb.net
Member Avatar for Teme64
0
107
Member Avatar for arunasingh

i have a problem in dropdown :suppose i select id from dropdown then i want name of the employee is displayed matched with that id is displayed in textbox : i have use the following code con = New SqlConnection(constr) adpt = New SqlDataAdapter("select * from reg where f_name='" + …

Software Development dataset vb.net
Member Avatar for babbu
0
111
Member Avatar for TrintiyNoe

Hey, [CODE] #include<iostream> #include<sstream> using namespace std; void manage(vector <string> scoreSheet) { int i; stringstream q; string z; for(i=0;i<scoreSheet.size();i++) { q<<scoreSheet[i]; q>>z; cout<<z<<endl; } } [/CODE] I expected this program to print the first word of each string in vector but is printing the first value over and over again,any …

Software Development c++
Member Avatar for kvprajapati
0
290
Member Avatar for kangarooblood

Since the very first time I programmed c++ I've been trying to make a program that looks like this [CODE=c++] #include <iostream> using namespace std; int main() { char name; cout << "please type in your name >> "; cin >> name; if(name == 'kevin'){ cout << "hello bitch" << …

Software Development c++
Member Avatar for Sky Diploma
0
131
Member Avatar for dello

in c++ is it possible to have a maximum length of an input, say i am entering a number - is it possible just enforce a rule which says that only a 2 number integer can be entered? i.e 01, 02, 03, 10 20, 30

Software Development c++
Member Avatar for Sky Diploma
0
360
Member Avatar for TrintiyNoe

[CODE]#include<iostream> #include<vector> #include<sstream> #include<algorithm> #include<cmath> #include<string> using namespace std; class ComboLength { public: int howLong(string moves) { vector<int> cc; int i,j,k=0; for(i=0;i<moves.size()-1;++i) { if(moves[i]==moves[i+1]) //Error k++; else cc.push_back(k); } return *max_element(cc.begin(),cc.end()); } }; [/CODE] I get a segementaion error in line if (moves[i]==moves[i+1]) any idea why?

Software Development algorithm c++
Member Avatar for Laiq Ahmed
0
121
Member Avatar for kangarooblood

Been trying to make a substitution cipher decrypter, but it isn't working especially good. so I thought I might could get some help with it. [code=c++] #include <iostream> #include <time.h> #include <windows.h> #include <iomanip.h> #include <string.h> using namespace std; int main() { bool EndThisShit(false); do { string input; cin >> …

Software Development c++
Member Avatar for kangarooblood
0
225
Member Avatar for GeekByChoiCe

Hello I am coding an FTP program, the downloading/uploading happens in a seperate thread. The problem is now how to pause/resume the download (even on servers that don't support file resume), an easy/working way is to pause/resume the working thread with thread.suspend but it tells me that this function is …

Software Development vb.net
Member Avatar for GeekByChoiCe
0
900
Member Avatar for jessejamesjjr

hey guys, i would greatly appreciate it if u wood help me out to see whats wrong with my codes.... heres my question and heres my code...... DONT 4GET TO MAKE THE TEXT FILE TO RUN IT !!!! <input.txt, output.txt> <fp_in, fp_out> 1. Write a program to average real numbers …

Software Development c++ file-system
Member Avatar for wildgoose
0
175
Member Avatar for llemes4011

Hi. When I add a JComponent to my JFrame, it isn't the size of the remaining space in the frame. I want it to work in a way so that when i add a JComponent, it (and it's contents) stretches to fill the remaining space in the screen... Is there …

Software Development java
Member Avatar for llemes4011
0
144
Member Avatar for sweetsasthi

hai, In my project, i have a task of uploading a photo attached to the application form to the form designed in vb.net.Can you suggest some ideas of how to work on this.Is web camera preferable. thanking you in advance.

Software Development vb.net
Member Avatar for kvprajapati
0
79
Member Avatar for GDICommander

Hello everyone! I'm developping a chat application in a client/server context and every client has a shared directory. I want the server to know the directory structure of each shared directory of every client. I'm asking myself if there's an existing class in the Java API that can keep a …

Software Development api client-server java
Member Avatar for ~s.o.s~
0
209
Member Avatar for sharao

hi frnds i installed apache 2.0.59 + svn-win32-1.4.0 when iam importing upto 5 mb it's accepting when i upload my java project nearly 12 mb its showing the following error [B][U]Invalid change ordering: new node revision ID without delete [/U][/B] also tried with apache 2.2.11 + svn-win32 1.5.4 even though …

Software Development apache java
Member Avatar for sharao
0
134
Member Avatar for catchmrbharath

[CODE=CPP]#include<iostream> #include<cstdio> #include<stack> using namespace std; bool opgreater(char ,char); bool opgreater(char a ,char b) { if(a=='^') return 1; else return((a=='*' || a== '/')>=(b=='*' || b=='/')); } int main() { int n; scanf("%d",&n); while (n--) { stack<char> exp; string initial; string final=""; int i=0; bool x; char temp,temp2; getline(cin,initial,'\n'); initial+='\0'; while(initial[i]!='\0') …

Software Development c++
Member Avatar for csurfer
0
227
Member Avatar for jcwm249

can anyone be specific with me on trying to figure out this error....I have been reaqding my book and looking all over the net trying to solve it but all i have left is these two errors!!!!!!! [code] #include <iostream> #include <string> #include <fstream> using namespace std; void add_Record(); void …

Software Development c++ ios
Member Avatar for Ancient Dragon
0
152
Member Avatar for jonnytabpni

Hi folks, I've got a C# client which can currently communicate with a C# server. I am considering re-writing the server in Java (to make it work better on Linux). Currently, the C# setup uses BinaryReader/Writer on top of a Network Stream on top of a Socket. Is there some …

Software Development c c# c++ client-server java
Member Avatar for kvprajapati
0
120
Member Avatar for airefrais

Hi, I am doing my Final project on audio applications using Delphi and I would like to get a pascal (Delphi) programme on reading, modifying (amplitude of a wave file) and saving the resulting wave file. My purpose is to generate sine waves at different Amplitudes at 24 or 32 …

Software Development audio delphi pascal
Member Avatar for mediastar
0
365
Member Avatar for lotrsimp12345

i am supposed to make 2 functions called find and they are supposed to find a character or string if they are similar when i do this progam gives me weird error: "use of search ambigious" "first declared as class search here. //main [code] #include <iostream> #include <cstdlib> using namespace …

Software Development c++
Member Avatar for smart_pc
0
226
Member Avatar for bandidoquest

Hello, I'm reading the book "Assembly Language Step-by-Step" and I'm using the softwares that the author suggests (nasm as assembler, nasm-ide for editing, alink for linking), but I'm having a problem right in the first example - he gives a working code (eat2.asm) and asks me to type a wrong …

Software Development assembly ide
Member Avatar for leonardr
0
261
Member Avatar for daviddoria

i.e. [code] class A { int x = 5; }; [/code] I saw a mailing list post from October 08 where a guy asked if this was going to be added. gcc 4.4 was released April 09, so I would assume it would have been added by then? I haven't …

Software Development c++
Member Avatar for Ancient Dragon
0
163
Member Avatar for leegeorg07

due to someone elses post about a keylogger, i wanted to use the program: [code=python] # get the character of a key pressed (no return key needed) # works only in the command window and with Windows OS # msvcrt.dll is the MS C library containing most standard C functions …

Software Development python
Member Avatar for shadwickman
0
178
Member Avatar for funfullson

I am sorry if it is simple or repetitive but I have problem with this. I make a play : I have python 2.6 or 3.0 a program in my c partition its name is test.py I want to compile it and it have to works in linux and windows. …

Software Development python
Member Avatar for shadwickman
0
113
Member Avatar for wanne

Sorry.. I am new to this forum. I tried to find solution from older threads but couldn't. Here I am starting a new thread. My doubt is that suppose i want to do one looping process to assign values, how I have to do. For example: Having one list like …

Software Development python
Member Avatar for woooee
0
97
Member Avatar for kes_ee

Hi All, I need one more help in string manipulation.. I am having a line as follows: [QUOTE] variable (x1|y1|z1)(x2||z2)(x3|y3|z3)[/QUOTE] From this I need to take values and store in lists like [QUOTE] xList = [x1, x2, x3] yList = [y1, 0, y3] zList = [z1, z2, z3][/QUOTE] Please help …

Software Development python
Member Avatar for shadwickman
0
129
Member Avatar for mansi sharma

I want to get image from the file..I m able to do it....But mine code do not close the file,after getting the image,I want to close the file.Cz after getting the image,I want to delete that file.....on Deleteing error is dere file is user by another process... Public Sub GetImagesContent(ByVal …

Software Development file-system image vb.net
Member Avatar for mansi sharma
0
831
Member Avatar for thanatos1

Hi guys, i downloaded visual c# 2008 about a month ago and have been trying stuff out for myself. I'm attempting to make a text based RPG, i made big progress but i'm stuck now. Basically i want to show the player's HP in green whenever he has 51 to …

Software Development
Member Avatar for ddanbe
0
149
Member Avatar for john_beginner

hello every one... i'm very new to c# in the following program (Console application prg.) i want to get "int" value of "eno","ph_no" in place of string type but i don't know how to convert string type to "int" type if i use like eno=(int)console.readLine(); then it will give error …

Software Development c c# c++
Member Avatar for ddanbe
0
170
Member Avatar for _dragonwolf_

Here we go again. As you can see, I have gotten much further. There are some elements however that I am unsure how to apply (i.e. bool tooMany). I haven't the slightest how to apply that. That is one snag that I have. Another, and the main one, is this: …

Software Development c++
Member Avatar for _dragonwolf_
0
104
Member Avatar for balu naik

Haiiiiiiiiiiiii every one. i am totally new for VC++ i need a program on vc++ window application. i need to create a window, on that window i need 3 brouse button look like normal (file brouser) by using this button i need to get file path only.2 look like same …

Software Development c++
Member Avatar for Stefano Mtangoo
0
82
Member Avatar for breakid

it copy the file with 0 kb. can anyone please help me. I am working in this over a week no progress. server class [CODE] package javaapplication29; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.sql.ResultSet; import java.sql.SQLException; import java.util.logging.Level; import java.util.logging.Logger; import java.net.ServerSocket; import java.net.Socket; public class Server …

Software Development client-server java
Member Avatar for ede
0
158

The End.