132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Argo54325

Ok I need some fast help with this, I'm trying to get a regular expression to work with my file system. this is what i currently have, but it seem to crash on, boost::regex expr(regex); [code=c++]void show_files (const path & directory, bool recurse_into_subdirs, bool lSwitch, bool rSwitch, bool aSwitch, string …

Software Development c++ regex
Member Avatar for Argo54325
0
188
Member Avatar for MaestroRage

I've come across an issue and for the life of me I can't figure it out. I need some serious help confirming if i'm thinking in the right way. But say I have 3 files. TableLayout.c Powers.c Powers.h Now TableLayout.c is a class that just takes a number from the …

Software Development c
Member Avatar for Ancient Dragon
0
9K
Member Avatar for mnieber

Hi, can anybody tell me why finalize is not called in this example? I expect finalize to get called and write the file "final.txt". I do see this file if I call finalize explicitly (see commented out line in main). A Java VM will be started and stopped when I …

Software Development java
Member Avatar for Ezzaral
0
128
Member Avatar for arvin2006

hi there, i am new to excel VBA. can anyone help me how to copy all the data in excel to another excel sheet by means of visual basic. for example excel1 and excel2.. after i locate excel1, then when i click copy button, it will copy all the data …

Software Development visual-basic
Member Avatar for cguan_77
0
170
Member Avatar for fia

i am new to xpath qurey. i want some how to get these nodes. <?xml version="1.0" encoding="UTF-8"?> <uml:Model name="Studentmanagementsystem" xmi:id="e5i21gSGAqAERwCq" xmi:version="2.1" xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"> <xmi:Documentation xmi:Exporter="Visual Paradigm for UML" xmi:ExporterVersion="6.3.0"/> <packagedElement isAbstract="false" isActive="false" isLeaf="false" name="User" visibility="public" xmi:id="lELO1gSGAqAERwOt" xmi:type="uml:Class"> <xmi:Extension xmi:Extender="Visual Paradigm for UML"> <isRoot xmi:value="false"/> <modelType value="Class"/> <businessModel xmi:value="false"/> </xmi:Extension> <ownedAttribute …

Software Development xml
Member Avatar for thoughtcoder
0
147
Member Avatar for monocog

Nucleon was nice enough to provide me with the following code to help learn lists a while back. I've had a little more time to revisit lists again and would like to see what this code looks like using a linked list instead of an array.. This is NOT homework, …

Software Development c++ linked-list
Member Avatar for Lerner
0
96
Member Avatar for rahul8590

Well i just want to find out , that is there any way where we can find out the various functions and operators / keywords present in a particular header file ....?

Software Development c++
Member Avatar for rahul8590
0
123
Member Avatar for VelcroMan

Hi, i have som functions in a header file. But i get errors at compilation. [CODE]#include <stdio.h> //#include <limits.h> #include <math.h> #include <string.h> //define error codes enum { PERROR_FILEOPEN, PERROR_FILECLOSE }; //other defines #define P_LINELIMIT 512 //globally needed variables int P_Error = 0; char P_Line[P_LINELIMIT]; //typedefs typedef FILE P_File; //Error …

Software Development c visual-studio
Member Avatar for ArkM
0
185
Member Avatar for drjay1627

Hi, I did a project a while back and as the grading TA insist on it compiling on Solaris. I have a 0 for a perfectly working project. Can someone please help me with getting a program to compile on both the free free bsd and of course annoying Solaris. …

Software Development bsd c open-source socket-programming tcp-udp
Member Avatar for drjay1627
0
82
Member Avatar for beddy085

Does anyone have a c++ program for a high-low card game??

Software Development c++
Member Avatar for dawsonhowe
0
192
Member Avatar for mansi sharma

I bound gridview with databse..property Checkbox -true . I have three columns roll,name ,roll. I want that on button_click, roll nos are displayed whose checkboxes are checked in gridview-- SOURCE TAB [code] <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"> <Columns> <asp:TemplateField > <ItemTemplate > <asp:CheckBox ID ="chk" runat ="server" /> </ItemTemplate> </asp:TemplateField> <asp:BoundField …

Software Development dataset open-source web-server
Member Avatar for mansi sharma
0
112
Member Avatar for dgtvr

I'm a total beginner to Python (most of my knowledge is in OO languages). Could you someone point me in the right direction for learning how to pull information from tables and drop-down menus from websites?

Software Development python
Member Avatar for chaney44145
0
83
Member Avatar for TriniBabe

Hi i am new to Java and i hav a program to do where i am given an interface with all its methods in it then i am given a class that implements the interface but also has some of its own methods. But a method in the interface is …

Software Development java
Member Avatar for Ezzaral
0
76
Member Avatar for custurd12

Create a class called Factor that has a public method called calculateFactor. The method has two two arguments of type integer and checks whether the smaller of the two integers is a factor of the larger of the two integers. The method will return a factor or a zero. Write …

Software Development java
Member Avatar for VernonDozier
0
159
Member Avatar for realmckoy89

hey I am writing a program for a student management system. I need help with putting it in modules and placing functions in it. structures etc....

Software Development c
Member Avatar for Ancient Dragon
0
139
Member Avatar for king_786

Write a Java application to print out the numbers 10 through 49 in the following manner: 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 …

Software Development java
Member Avatar for peter_budo
0
6K
Member Avatar for amirshami

hullo am sory but i have some thing trigaring my mind can you please help me out find the solution for this 1write a function 2write aprogram "to readstudent's name ,examinationscore for 4 subjects ,compute their average score" please help me out with that using c++ thanks AMIRSHAMI

Software Development c++
Member Avatar for V.V.Raman
0
132
Member Avatar for shirish_kal

Guyz i need an API for finding diff in time in minutes and days as fast as possible . if anybody has it and can provide me i wud be greatfull

Software Development api c
Member Avatar for Ancient Dragon
0
117
Member Avatar for everard

I've created a program that will parse the log file generated by an MFP (Multi-Functional Printer). The program works fine when I parse a log file with less than 2000 lines, but when it reached more than 2000 lines (I've tried the log files with 8000 and 22000 lines), the …

Software Development c c# c++ printer
Member Avatar for tux4life
0
100
Member Avatar for Guru Silva

Hi all! I'm trying to compile some code where I use a trylock, testing its return against EBUSY. The problem is that it won't compile because gcc says: error: ‘EBUSY’ undeclared (first use in this function) I'm using pthread.h and -lpthread when compiling. I also tried to unistall build-essential, update …

Software Development c
Member Avatar for Guru Silva
0
510
Member Avatar for Matt23488

I am working on homework for my x86 assembly class. The purpose of the program is to open an existing file and display the first 20 lines of the file and then pause, display the next 20 lines, pause, etc. until the end of the file is reached. My professor …

Software Development assembly
Member Avatar for Matt23488
0
192
Member Avatar for songweaver

Hey guys, this function is for rounding 2 decimal places, e.g. 1.2785 rounds to 1.2800. First, how would I alter the function so it would round 3 decimal places 1.2780, and second how would I truncate it so it would read 1.278. Thanks! [CODE]double roundIt(double x, double n) //Write definition …

Software Development c++
Member Avatar for songweaver
0
1K
Member Avatar for asd32

Hello, As you can see the title, i need help with the loop. Here is the code: [code] double t; for(t=0.5;t>2.5;t=t+0.1){ System.out.println(form.format(t)); } [/code] As you can see, the loop keeps going from 0.5 to 2.5. The main problem, that i cant understand how to make it count from 0.5 …

Software Development java
Member Avatar for Ezzaral
0
131
Member Avatar for JooClops

Hi! We have a project,to make a website in school, so one of the mandatory things is the registration form. so i can just copy from the example the teacher gave us and add some stuff, but i wanted to practice checking the form, and one of my "missions"(huh i …

Software Development java
Member Avatar for JooClops
0
123
Member Avatar for itslucky

Hi, Dear Friends i want to Pass AT Command to Mobile phone through Hyperterminal (Windows XP) from Java Application... The Hyperterminal passes the AT Commands to the phone, but i want to develop a java application, which pass the AT commands to the phone through Hyperterminal. please tell me how …

Software Development java
Member Avatar for JamesCherrill
0
120
Member Avatar for ning2009

Hi, there I have some lines in a text file as 159 J=1661,3169,1679,3181 SEC=SLAB2 66 J=5597,5596,7523,7522 SEC=WALL1 How can I delete "SEC=SLAB2" or "SEC=WALL1" and modify the roginal lines into new ones, if I have RE functions 159 J=1661,3169,1679,3181 66 J=5597,5596,7523,7522 I am using and stuyding Python. Please forget me …

Software Development python
Member Avatar for ning2009
0
111
Member Avatar for foxypj

hiya. I'm trying to read in a text file, then split each line and output it to a listbox. However its not that easy. every 7 lines is about one subject so i need the listbox to write the data out like this. line 1, line 2, line 3, line …

Software Development file-system
Member Avatar for Antenka
0
135
Member Avatar for adeelghani

hello to every body im new in the vb language plz kindly help me can anyone tell me how to get the data from comm port by using the vb2005 thanks for replying me thanks

Software Development vb.net visual-basic
Member Avatar for martonx
0
138
Member Avatar for konczuras

Hello! I've built an application, created a setup for it, packed, etc. I've installed it on XP, and it works perfectly well. But the application actually produces images and other files, so when I tried it on Vista, I continually got the UnauthorizedAccess Expection. I understand that this is advanced …

Software Development
Member Avatar for konczuras
0
111
Member Avatar for crioto

Everybody hi! Last few days i was interested in one question: Does wxWidgets working well in KDE? Windows? [I]I know[/I], that i can read official wxWidgets site for posted issues, but actually i want to know your opinion about it! I looking for good UI for my apps, and i …

Software Development c++
Member Avatar for NicAx64
0
110
Member Avatar for doha786

As a newbie i m facing a small prob right now... i have code to search names from many files and compare the results with similarity scoring. its working but when the names found my program should show the filepath or fileName for each names. how can i do this …

Software Development java
Member Avatar for BestJewSinceJC
0
99
Member Avatar for moly

I have two classes; primatives.h [code] class PS2Sprite { public: PS2Sprite::PS2Sprite(); PS2Sprite::PS2Sprite(const float x, const float y); PS2Sprite::~PS2Sprite(); virtual void Render(void) const; virtual void RenderPerspective(void) const; void MoveTo(const float x, const float y, const float z); void Rotate(const float angle); void Rotate(const float angle, const uint8 x, const uint8 y); …

Software Development c++
Member Avatar for moly
0
81
Member Avatar for guest11

Hi all, Can anybody tell me how to retrieve hard drive information in vb.net . I try my best search in google but not getting the appropriate information. Its urgent. Thanks in advance. Regards G_8306

Software Development hard-drive vb.net
Member Avatar for guest11
0
175
Member Avatar for metal_butterfly

I have a program that will fetch some particular lines and store it in a buffer for further operations.The code which is given below works but with some errors.I couldn't trace out the error.Can anybody help on this plz?? [CODE]#include <stdio.h> #include <stdlib.h> #include<string.h> #define LINESIZE 256 void failif (int …

Software Development c career storage
Member Avatar for metal_butterfly
0
93
Member Avatar for pinkyguru

hi, I am having a prob in collection object...My prob is Server sends a data and i have to save the data in flexgrid.I am using this data as a key and for the reference i am saving flexgrid row number with key. If another data comes.i just want to …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
164
Member Avatar for Samran

Hi all, I ve been given an assignment to be done in LINUX which requires filing for processes. I have studied about the functions to be used, [I]open, read, write[/I]. I have copied the example from the book in my text editor and it gives error when compiled. The input …

Software Development c ubuntu
Member Avatar for Samran
0
165
Member Avatar for viki0077

What is needed for a C++ member function of a class to behave polymorphic? Please can anyone answer me to this, and if you can give me some example. Thanks.

Software Development c++
Member Avatar for NicAx64
0
142
Member Avatar for bailey537

hi i am trying to create a class that contains a struct. This struct inherits properties from other classes. [code] class people { public: struct person:public parent { private: char * data public: setdata(char * x) } [/code] In the parent class i have [code] class parent { private: public: …

Software Development c++
Member Avatar for Danny_501
0
60
Member Avatar for talajiam

hi guys, i m new to vc++ and i have a task assigned to use the lzo algorithm in my project so i downloaded its full source code of version 1.08 from the [url]http://www.oberhumer.com/opensource/lzo[/url] now when i m opening its sample.c file (which is a example file in the example …

Software Development algorithm c++
Member Avatar for talajiam
0
109
Member Avatar for wendas

I am just learning Datasets, and as luck ALWAYS has it can not start out simple. I am pulling from an ODBC file which can be connected to on the Dataserver or Table adaptor, but then they come in with no tables. So I am forced to work with runtime …

Software Development c c# c++ dataset
Member Avatar for wendas
0
157
Member Avatar for beatlea

Hello, I have a rather complicated pointer/syntax problem. One of my function arguments is a pointer to a structure which contains a void pointer. If I point the pointer to a scalar then in my function I can access it like this: [ICODE] local_var = (appropriate_type *) struc->pointer; [/ICODE] But …

Software Development c++
Member Avatar for beatlea
0
120
Member Avatar for Hockeyfreak889

ok the other day i posted about how to actually display an image and then what the best way would be to read in a location of an image and then display it. Now my new question is how do you resize an image. At the moment the image i …

Software Development display image java java-swing
Member Avatar for JamesCherrill
0
285
Member Avatar for shadwickman

Hello! I just started trying to get the grasp of Assembly a few days ago, so I decided to write a program to print the Fibonacci numbers up to the 25th one. I'm using NASM, and it's for the x86 processor. I came up with this code, but it'll loop …

Software Development assembly
Member Avatar for shadwickman
0
2K
Member Avatar for t-roy

{I am a newbie to this forum and programing. I am trying to write a program that takes a lists of technical support engineers and move them from the top of the list to the bottom when they get a support call assisted to them. "round robin" A little background …

Software Development c++
Member Avatar for ithelp
0
122
Member Avatar for Katie G

Newbie to QB - I have an assignment to create a grade sheet for one student. Must list name, instructor, class, test grades 1 through 5, average, low grade, high grade and new average with lowest grade dropped. I am so confused about arrays. I am using examples from class …

Software Development visual-basic
Member Avatar for tucson-az
0
258
Member Avatar for KimJack

Hello All, I am working on a simple program that will counts the number of matches found. I then need to display the text of the last successful pattern and the text the preceeds the last successful pattern match. This is where my problem is. How can I get these …

Software Development perl
Member Avatar for KimJack
0
79
Member Avatar for metal_butterfly

I have a program which will write informations like gid,gname,resname,restype,etc... in a file.I wrote a function to get the starting and ending position of a particular group.Stating of a particular group (say group 12)is denoted in a file by #gid12 and the end of the group is denoted by @gid12.I …

Software Development c file-system
Member Avatar for metal_butterfly
0
108
Member Avatar for bobrien314

I am trying to read an integer in from the command line, but it keeps reading in the ascii value as the int, and it completely blows up when the number is greater than 9. I know it's probably trivial but can anyone be of assistance please int main(int argc, …

Software Development c
Member Avatar for bobrien314
0
85
Member Avatar for Oakie

Hey guys, I'm taking an intro level course on Python and i need to figure out how to get roman numerals to their integer values so far i have this... [code=python] romaninput = raw_input("Enter the roman numeral to convert to Arabic: ") I = 1 V = 5 X = …

Software Development python
Member Avatar for Oakie
0
1K
Member Avatar for ixuz

Hello there! I'm having problem with my drawing graphics programming, let's say I want to draw a circle. This circle is made out of smaller pieces called pixels. Okay I got a pixelclass containing three values x, y and color. My circle contains a vector which contains all the pixels …

Software Development c++
Member Avatar for Duoas
0
195

The End.