132,726 Archived Topics
Remove Filter ![]() | |
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++ | |
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 | |
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 | |
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 … | |
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++ | |
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++ | |
[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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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# | |
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++ | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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='" + … | |
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++ | |
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++ | |
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++ | |
[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? | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
[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++ | |
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 … | |
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 | |
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 … | |
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++ | |
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 … | |
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++ | |
![]() | 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 |
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 | |
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 | |
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 | |
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 | |
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 … | |
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++ | |
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++ | |
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 ![]() |
The End.