132,726 Archived Topics
Remove Filter ![]() | |
i want to read text between two indices in the file usinf file i/o operations in c++. HOw ca i do it? for example, here is the text file: 1: .. .. 2: .. .. 3: .. .. 4: in this text file i need to print only the lines … Software Development c++ file-system | |
//Author: Frank R. Mendez //Title: Insertion Sort //Description: Accepts int elements and stores it in an array list then sort every element in accending order //Date: 7/13/13 5:53 PM #include <iostream> using namespace std; class Sort { public: void insertionSort(int x[],int lenght); void driver(); void display(); int arr[15]; // because … | |
I'm trying to add [this](http://www.codeproject.com/Articles/15559/A-Windows-Forms-based-text-editor-with-HTML-output?msg=4610424#xx4610424xx) to my existing project. I'm right clicking the toolbox-> chose items-> select the exe. It automatically adds a reference to my existing project. But after I drop the control onto my form it gives me: "LiveSwitch.TextControl.Editor is not defined" 2 times and 1 "LiveSwitch is … Software Development vb.net visual-basic | |
Dear All, I am trying to display the buttons dynamically and buttons of text trough character bit map. It is possible or not. Please reply me urgently. | |
I have a jtable and inside this table is a column of checkboxes (other info on following columns). if the user clicks on the checkbox to change it, which it does, there is a popup that comes up for an administers password approval... got that. If the approval is accepted, … Software Development java | |
I want to make a interface in vb6 which deals with excel file. Where we can select drive from drive box and select a excel file which is a source file and copy the value of cell from the source file and paste it into destination file's cell. my problem … Software Development open-source user-interface visual-basic | |
![]() | A friend of mine dazzeled me with by asking to write "Architecture for Client-Server in C". As I am noive in C I didnt got his question. I don't expected a prepared recipe but I want to learn the idea what he actually meant. Please Suggest. Thanx Software Development c client-server ![]() |
I'm trying to embed a window into my own. I somehow new it would not be as simple as it sounded, so I'd like a pointer where else to look if anyone can help. hMyOwnWindow //HWND hExternalWindow // HWND //size the external window so it will fit. MoveWindow(hExternalWindow,19,102,383,400,true); //set style … Software Development c++ | |
Hello! I am very new to perl and linux systems in general, so I am hoping that someone can help with this problem! I have a very large table of data (100 rows and between 300000 to 2 million columns) that looks like this: [ICODE]sitenames site1 site2 site3 site4 site5 … Software Development perl | |
Okay so I hope this is the right place to put this. But onto the point. Anyway a long time ago my father showed me a game he used to play called Adventure. Some right remember this command prompt game as well as it's opening words "YOU ARE STANDING AT … Software Development | |
Hi,to make it short i want to convert a any media file to mp4 x264 baseline format so everythng went fine as i had a mooo ffmpeg but now when trying to access from c# i couldnt from mooo as it is diff installation can only be accesed wit its … Software Development | |
I don't get what this error mean in line 17 or 18.. #include <iostream> #include <conio.h> using namespace std; int main() { int players; int years=3; cout<<"Enter no. of players"; cin>>players; int record[players][years]; for(int i=0; i<=players; i++) { for(int j=0; j<=years; j++) cout<<"Enter runs scored by player"<<":"<<i+1<<": "; cin>>record[i][j]; } … Software Development c++ | |
my algo : 1.Construct a max(min) heap from first element of all array, 2. extract a max(min) value from the heap and write to output 3. get one more element from array which the value extracted step 2 was in. 4. repeat until heap is not empty can anyone tell … Software Development c | |
int main() { printf("%u %s",&"hello",&"hello"); return 0; } can you please explain that how "hello" is working here ? i know it is string constant ? so it is acting as a pointer to a char like i do char *s= "daniweb"; so, if it is the case, then why … Software Development c | |
Hi I have a progressbar and it's going from left to right but what I will it to do that it goes from right to left with full and take one step backwards after pressing commandbutton each time Le Nenne Software Development visual-basic | |
Currently I am designing a inventory system, however jumping straight into vb.net was easier said than done. At the moment, all the information stored goes to two places, one being a master file that has all the information ever inputted, and the other being an individual file that is created … | |
Hi All, I have a doubt in paint method of the Component Class. I know how to use that in Applet but im finding it hard to use it in GUI app. Im posting my code here, please edit it to make the program use paint method to render any … Software Development gui java java-swing | |
I created a String[][] grades, who's size is set by number of students User enters. The array is then populated with my first for loop, and the next for loop is supposed to print out each students date line by line. If I only enter 1 Student and fill in … Software Development java java-swing | |
I have a program that takes csv values, parses the content and inserts it in an sqlite3 database. I am using sqlite3 to save on space and to make the py scripts a little more portable. The next refactoring may well need to have postgresql or mysql to deal with … Software Development github postgresql python sqlite | |
I'm trying to get the time from input of html txt_URL but the array returns nothing. Not sure where I went wrong. Any help is appreciated. Thanks! **input:** Deleting 11 files. Details: Time Deleted = 01:16:30, Time Left = 00:00:00, **output:** 01:16:30 string before = txt_URL.Value; string after = Regex.Replace(before, … | |
Hi All, I have created a Java applet in Eclipse and ran it in eclipse, it works fine . To run the applet in Webbrowser it was mentioned to embed the .class file inside a webpage by creating a HTML file. My class name is MyFirstGUI. i have created a … | |
Is it possible to replace commas and spaces with commas in c#? I'm fresh in c# and am looking for guidance. Any help is appreciated! **Before:** Deleting 11 files.ABC: Total Time = 01:16:30, Remaining Time = 00:00:00 **After:** Deleting,11,files,ABC: Total,Time,01:16:30,Remaining,Time,00:00:00 Software Development c# | |
In example.aspx, i have a html textbox named txtbox_1. In it, I have the following value: **1a,3d,2cc,wedd,aqq** I would like to read individual values separated by commas and place it different textbosz. currently i can read the textbox value as a whole and not individually. Hope this is clear. Would … Software Development | |
Recently I've used zedgraph barchart to create a chart with 12 bars. I did want to put each bar on an x-axis scale and change the label name of that scale, but I did not success. Could you please show me the way the put my bars inside the scales? Software Development vb.net | |
i need some help... please help me convert this code into vb .net im using a device w/c is digital persona fingerprint scanner, the code works but it does not show any scanned image of the fingers in vb .net Private Sub cmdCancel_Click() op.Cancel lblMessages.Caption = "Operation canceled" Set op … Software Development vb.net visual-basic | |
Friends, I Have Developed an Application, Now I Want That My Application Should Start Automattically When System Starts, How Can I Do This, Please Suggest Me Software Development vb.net | |
Private networkAvailableEventHandler As NetworkAvailableEventHandler = AddressOf NetworkConnectionChanged Private Sub NetworkConnectionChanged(sender As Object, e As NetworkAvailableEventArgs) If Not disposed Then OnPropertyChanged("IsNetworkAvailable") End If End Sub Dim disposed As Boolean = False Public Overloads Sub Dispose() Implements IDisposable.Dispose Dispose(True) MyBase.Dispose() GC.SuppressFinalize(Me) End Sub Protected Overridable Overloads Sub Dispose(disposing As Boolean) If disposed … Software Development vb.net | |
I have a form with A GroupBox on it. Within the GroupBox is a TextBox and a ComboBox. I am trying to disable one or the other when either text is entered into the textbox OR when an item has been selected in the combobox. I can get the combobox … Software Development vb.net | |
#include <iostream> using namespace std; int main () { //declaring variables double Pi= 3.1416 ; double Diameter_ofcircle = 0.0; double priceofrailingmaterial = 0.0; double Totalpriceofrailingmaterial = 0.0; //Getting the user input cout<<"Enter the diameter of the circle "; cin>>Diameter_ofcircle ; cout<<"Enter the price of railing material per foot "; cin>> … Software Development c++ visual-studio | |
Hi to all. I'm trying to use hidapi.dll,if needed i'll post a sources or link to authors page. Here's what i've have in my dll: #define HID_API_EXPORT __declspec(dllexport) #define HID_API_CALL ... int HID_API_EXPORT HID_API_CALL hid_write(hid_device *device, const unsigned char *data, size_t length); ... and this is the part in c#: … | |
I just glued together two codes I found online, and found an interesting result. Some of my flash drives have been appearing twice on the system. Here is what the output looks like: Drive: C:\ Volume Name: Drive: D:\ Volume Name: Drive: E:\ Volume Name: Drive: F:\ Volume Name: Drive: … Software Development c++ pc-peripheral | |
Hi folks I wonder if this code can bee converted to VB6 or there are a simular code. Lenny Dim strMSG As String > strMSG = "This Demo Has Expired" & vbCrLf & "Please Contact Me to Obtain > the Full Version" > > If DCount("[autonumberID]", "app.path/phonetel.mdb") > 20 Or … Software Development visual-basic | |
![]() | I **want to draw a magnifying glass using <graphics.h> ** in Turbo C++ (a DOS-based compiler for C++), which is mostly user as "Search" icon. But, I am having problems in making the rectangle attached to the two circles (one inscribed on another). I've also included the screenshot (made in … Software Development c++ ![]() |
Hello, I was doing some research on enumerating the different drives on a system, and I found some code on MSDN. Here is the page: http://msdn.microsoft.com/en-us/library/windows/desktop/aa364975%28v=vs.85%29.aspx The source code looks like this: DWORD dwSize = MAX_PATH; char szLogicalDrives[MAX_PATH] = {0}; DWORD dwResult = GetLogicalDriveStrings(dwSize,szLogicalDrives); if (dwResult > 0 && dwResult … | |
HI!!!! i am a student of B.Tech 3rd year plz suggest me a mini project in java i have basic knowledge of swing and jdbc and elementary idea of networking Software Development java java-swing | |
Hi there! I'm having a little (really not so little) issue using iterators. // object t1 created here. std::vector<std::string> *f1_t1 = t1.func1(); std::vector<std::string>::iterator iterv; for (iterv = f1_t1->begin(); iterv != f1_t1->end(); ++iterv) std::cout << *iterv << " "; std::cout << std::endl; std::vector<std::string> *f2_t1 = t1.func2(); for (iterv = f2_t1->begin(); iterv … Software Development c++ | |
hi guys, i'm really having a trouble with my conversion code... it says the NumberFormatException with this "Student[] studs = new Student[Integer.parseInt(fr.nextLine())];" but i have no idea why. can someone help me? import java.util.Scanner; import java.io.*; public class SampleFileProcessing implements Serializable{ private static Scanner fr; public static void main(String[] args) … Software Development file-system java | |
Why Can't we use va_list twice? Can any explain me how it creates memory issue ? Software Development c | |
So I am using gridview and want it so my first 2 clumns of my last row to combine into one. Becuase right now just have a blank area and it looks weird. Also trying to figure out how to set the font a diffrent size on that 1 word … Software Development | |
We have socket application which sends out quite a number of email out. So we decided to send huge number message into it which will trigger emails. Eventually we see the email are taking hours before it reach any of the inboxes either gmail,hotmail or yahoo etc. We have this … | |
Hello group; I have been searching for a way to run an external macro on an excel sheet automatically. I have found some code including this local suggestion http://www.daniweb.com/software-development/vbnet/threads/332821/run-excel-macros-with-vb.net# which looks good but I am baffled by the final instruction **"just remember that you have to have an excel sheet … Software Development vb.net | |
HI, I WANT TO PRINT THE ASCII OF THE FOLLOWING TEXT ÇÑÔÏ ÇäæÑ ÇÈÑÇåíã BUT ALL I GET IS 63 63 63 63 32 63 63 63 63 63 63 63 63 63 ?????????????? I WILL BE GREATFUL FOR ANY HELP THANKS IN ADVANCE Software Development java | |
Can i have a sample of the coding for it ? private void pictureBox1_MouseClick(object sender, MouseEventArgs e) { mybitmap = new Bitmap(pictureBox1.Image); // In the mouse move event var pixelcolor = mybitmap.GetPixel(e.X, e.Y); // Displays R / G / B Color Graphics g = pictureBox1.CreateGraphics(); g.DrawRectangle(new Pen(Brushes.Blue), 150, 150, 60, … Software Development image | |
Okay I'm here with a question about a form I'm creating. It's a simple form that reads in the input from text boxes. I should be able to enter the text, and press my enter button to display it in the display box. I should also be able to save … Software Development | |
I am currently learnning c++ from a text book. but I have come accross an error when trying to run the program. The error reads like this: fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "StdAfx.h"' to your source code? … | |
Hi everyone - I hope your day is going great. Can someone please kindly help me with the coding of the following function - I have absolutely no clue where to start - Given the following sets of numbers - 1154 1179 2154 2554 2484 2144 4515 1144 1517 4815 … Software Development c++ | |
Please Explain me the code A a = b as A; Iam confused with it public class A { public virtual void One(); public void Two(); } public class B : A { public override void One(); public new void Two(); } B b = new B(); A a = … | |
**new** and** virtual** *Keyword* are the same as i feel,since new Keyword in the method hides the same base class methods whereas virtual keyword override the base class,So what is difference between new and virtual ,and how to determine when to use anyone of it? [CODE] public class Base123 { … Software Development | |
Alright guys I need some assistance with this. Ok In a few days I will start my project but I need to how to do something, Read Below: I need to find out how to display a Users specific table within My MySQL database for example here is a picture … | |
public class naming { private String name ; private String address ; private int idCard ; private int firstMoney; public naming() { name=""; address=""; idCard=0; firstMoney=0; } public naming(String n , String ad ,int id , int fm ) { name=n; address=ad; idCard=id; firstMoney=fm; } public String getName() { return … Software Development java |
The End.