132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sembawyo

i want to know the strategy to know Register Edit By Specific process how can i get its status and implement in c# i need necessary help for this point any tutorial link idea

Software Development
Member Avatar for sembawyo
0
123
Member Avatar for JLynn

Hello, I am having trouble figuring out the correct syntax for a small portion of my code. I am trying to have my code search through a column and for each entry in that column copy and paste only the rows that have the following characteristics: the first character = …

Software Development visual-basic
Member Avatar for JLynn
0
130
Member Avatar for Hirez

Hi, I'm new to c# although have written in a few other langues in the past. I'm trying to get a list of services and their status and create an xml file from this info. I use the ServiceController. [CODE]ServiceController[] services = ServiceController.GetServices();[/CODE] If I send the info to the …

Software Development xml
Member Avatar for Hirez
0
83
Member Avatar for necrolin

My C++ course hasn't covered a topic yet, but I'm expected to solve a few problems with this material. I've got some working code I just don't fully understand it. Can someone help me, please? [CODE] void f(int** a) //What is this ** business? (1) { cout << **a; //prints …

Software Development c++
Member Avatar for dkalita
0
90
Member Avatar for e04047

hi all, I have this file [myfile.txt] with some user data. example: $cat myfile.txt FName|LName|Gender|Company|Branch|Bday|Salary|Age aaaa|bbbb|male|cccc|dddd|19900814|15000|20| eeee|asdg|male|gggg|ksgu|19911216||| aara|bdbm|male|kkkk|acke|19931018||23| asad|kfjg|male|kkkc|gkgg|19921213|14000|24| aera|bprb|male|cccc|pppp||15000|20| . . . // and so on So what I want to do is to take out (to a file) the missing fields as following format: <FName> <LName> <Company> Missing …

Software Development shell-scripting
Member Avatar for natufor
0
202
Member Avatar for xyz12

Hi all i have a problem in C# window application........... Well i am making a application in which i am making treeview control, in which i have some nodes, and when i click on particular node, so related form is displaying in side panel............ But the problem is that,After debugging …

Software Development
Member Avatar for sknake
0
214
Member Avatar for wangatang126

hi im trying to write a C program that produces an array like this 1,2,4,8,16... Basically i produce an array with with the power of 2 starting at 0 and going up to n. Here is my current code: However the array dosent show. What is the problem? # include …

Software Development c c# c++
Member Avatar for neithan
0
158
Member Avatar for shroomiin

Hey everyone. I have to write a program that estimates the value of mathematical constant e by using the following formula and i have to allow the user to enter the amount of terms to calculate. the only problem is i dont really know how to get started with this. …

Software Development java
Member Avatar for javaAddict
0
104
Member Avatar for smoking clutch

Hello everyone/anyone. This is my first post anywhere on the internet .But I've spent years reading them trying to learn varios things. I read on an MSDN forum that its appropriate to ask after 2hours of trying or something like that,But that would be many times a day for me …

Software Development
Member Avatar for ddanbe
0
102
Member Avatar for Tajna

hello ! I`m trying to use sqlite database with c++, but something isnt working right... The problem I`m dealing here is that i cant insert other datas into the table i`ve created except NULL, because i get following error message: Error in select statement : INSERT INTO a (a,b,c,d) VALUES …

Software Development c++ sqlite
Member Avatar for Tajna
0
102
Member Avatar for restrictment

The question is in the title. I am trying to make an image that includes this character... *typo in title. It should say 'do', not 'to'.*

Software Development c++
Member Avatar for jbennet
0
871
Member Avatar for mymyzzz

how do i get int in fstream? i am in need to change my char to int. i am not allowed to use anything above and including fuctions. this includes sstream. is there any way for the program to read "3" in the program as an interger?

Software Development c++
Member Avatar for pecet
0
159
Member Avatar for verilu

So, I'm stuck trying to figure out how to move the object. I am using the keyboard as a call to Key Event to move the object. Right now, it isn't moving. I'm pretty sure that this is correct. [CODE]import java.awt.Color; import javax.swing.*; import java.awt.Graphics; import java.awt.Image; import java.applet.Applet; import …

Software Development java java-swing
Member Avatar for nambro
0
110
Member Avatar for mymyzzz

i need to know how many times the while loop is done. while (myin) { myin >> name; cout << name ; myin >> num1 >> num2 >> num3; cout << " " << fixed << setprecision(0)<< num1 << " "<< num2 << " "<< num3 ; average = (num1 …

Software Development c++
Member Avatar for nambro
0
83
Member Avatar for BestJewSinceJC

After compiling the code found [URL="http://beej.us/guide/bgnet/output/html/multipage/clientserver.html#simpleclient"]here[/URL], I immediately got a number of errors. (Unfortunately, Beej is the starting point my instructor suggested to implement our FTP client's "minimal" commands, but that's another story). Anyway, I got rid of a few of them, then ran into this: [CODE]client.c:32 - error: storage …

Software Development c storage
Member Avatar for BestJewSinceJC
0
188
Member Avatar for GPXtC02

what i have so far - [code]void do_handleclient(int connsock,struct sockaddr_in *client_addr) { // Communicating with our new friend. string buffer, execmd, filename; int b, n, nstr, str; char buf[25000]; char *cbuff=(char*)buf.c_str(); while((n=recv(connsock,buf,25000-1,0))!=0) //receiving request. buffer[n]=0; while(buffer[nstr]!=' ') { //pulling GET or POST command out of request. execmd[nstr]=buffer[nstr]; nstr++; } while(buffer[nstr]!='\r' …

Software Development c++ file-stream
Member Avatar for dkalita
0
118
Member Avatar for Goalatio

Hey all, I've been working on this little program in NASM 16 bit assembly, under a windows operating system. It works, I just have a problem. If you don't pass it any arguments, it fails to see that there is an end of line character. You pass arguments as.. INKEY …

Software Development assembly operating-system
Member Avatar for Goalatio
0
1K
Member Avatar for avirag

Hi ,I have made an application in which I am matching a string entered in textbox with the Text property of the forms.In that , I am matching 0.75% characters of strings and the text of the result forms are displayed in listview. But the problem is that the string …

Software Development display listview
Member Avatar for abc16
0
244
Member Avatar for mymyzzz

CSCI 1170: Open Lab Assignment #5 Program due: Thursday, Oct 29, 2009 at midnight as the day turns to Friday Oct 30, 2009. Professor: c8296800 code: ola5 Purpose of this assignment: The purpose of this assignment is to understand the while loop programming construct. This assignment will let you 1. …

Software Development algorithm c++ programming-construct
Member Avatar for Clinton Portis
0
163
Member Avatar for brando|away

yeah i can't find this on google but i understand how to output data using 16bit (with int 21h/ah=02) say im doing some math calculations, how can i output something in a 32bit register (eax, edx...)?

Software Development assembly
Member Avatar for NotNull
0
143
Member Avatar for RobertMW

I am trying to write a program that will input a bunch of names into an array of structures under the .name heading. Currently I have what is below to get it to work. But it's not very flexible. You have to input [U]both[/U] a first and a last name …

Software Development c
Member Avatar for Aia
0
120
Member Avatar for lotrsimp12345

Error 1 error LNK2019: unresolved external symbol "public: __thiscall vector::my_vector<int>::~my_vector<int>(void)" (??1?$my_vector@H@vector@@QAE@XZ) referenced in function _main test.obj Error 2 error LNK2019: unresolved external symbol "public: __thiscall vector::my_vector<int>::my_vector<int>(void)" (??0?$my_vector@H@vector@@QAE@XZ) referenced in function _main test.obj Error 3 fatal error LNK1120: 2 unresolved externals C:\Users\...\Documents\Visual Studio 2008\Projects\Iterator and Generic Vector Container\Debug\Iterator and Generic Vector …

Software Development c++ visual-studio
Member Avatar for Dave Sinkula
0
144
Member Avatar for dylank

Hi, I have posted in a previous thread about this problem, but this seems not related enough to post in it. My problem is with this code: [code]//This is VERY simple, will just graph a y=mx+b type formula into 2 arrays. #include <iostream> using namespace std; int main() { //Counters …

Software Development c c# c++
Member Avatar for Clinton Portis
0
118
Member Avatar for mymyzzz

i got to do this for my class and i am a total noob! i don't know what to do from this point on. first, i need to use fstream to do this. 3 Tracy 80 91 67 Dana 0 66 44 Scott 50 41 64 Jamie 82 90 87 …

Software Development c++
Member Avatar for Clinton Portis
0
290
Member Avatar for runtogetdone

Hi, I do not understand how the x86 processor chooses whether to not to jump for a conditional jump. My professor told me that conditional jumps are based on the OF, ZF, SF, and CF flags, but I do not understand which flags are checked under a given jump instruction... …

Software Development assembly
Member Avatar for runtogetdone
0
115
Member Avatar for mymyzzz

i have this Tracy 80 91 67 and it is read from a file, making it fstream. i want the computer to reconize the numbers and add them and divide them, excluding the name. how do i do it? i can't use fuction so please make it easy.

Software Development c++
Member Avatar for mrnutty
0
108
Member Avatar for cjf90

Alright, I have an assignment in which I have to use ANSI Escape Sequences to colorize output on the console. So "\033[0;31m" colorizes text after it to be red for example. When I run the following: [code]cout << "\033[0;31mhello \033[0;37mworld";[/code] It works as it is supposed to, with "hello" printing …

Software Development c++
Member Avatar for cjf90
0
121
Member Avatar for ajay_p5

Hi everyone Well I have been trying to install some modules like Bundle::DBI, DBD ::mysql and latex::Parser on my apple comp running mac OS X operating system. Every time I am trying to install a module I get an error like this : make had returned bad status, install seems …

Software Development apple operating-system os-x perl
Member Avatar for ajay_p5
0
156
Member Avatar for bunnyboy

So I would like to make a function which would add elements in container in sorted manner. Let's say we have a struct with two integer. I randomly initialize them and the add it to deque. And now what I want is that my function would add them in a …

Software Development c++
Member Avatar for Clinton Portis
0
137
Member Avatar for bennettgirl99

So I have spent some time on this.... Write a program named TrafficLightcontroller Program should have a main method Construct three TrafficLight objects named:light1,light2,light3 Repeatedly print a menu that allows a user to type in responses and control the three lights. Menu: Select traffic light (0 to quit): 1 1)change …

Software Development java
Member Avatar for quuba
0
157
Member Avatar for nightninja12

i have a project for my programming class where we have to create a binary search tree and then when the program exits we need to save the tree to a text file and then restore it when the program opens. the basic functions were given to us, but the …

Software Development c++
Member Avatar for Lerner
0
161
Member Avatar for Grn Xtrm

Hello friends. I am experiencing problems using the getline function in C. I want to use the function to print line numbers next to the text of each line of an input file. I have successfully read in the file and printed its contents line by line. But when I …

Software Development c
Member Avatar for Grn Xtrm
0
116
Member Avatar for reese27

I'm trying to figure out how to even start a program that removes suffixes like if i were to enter programs, are, not, limited, to, drawing, composition, it would output.... program are not limit to draw composi

Software Development c++
Member Avatar for Lerner
0
115
Member Avatar for johndoe444

Hi, My knowledge of c++ is limited to basic syntax used in basic programming assignment while I have some years of software development experience (particularly web application) using java. I have not created any thing big in c++ ever. Now coming back to c++ at present, I am confused how …

Software Development c++ socket-programming
Member Avatar for johndoe444
0
127
Member Avatar for lovely ari

hey every one happy Halloween ^__^ i'm trying to make a log in system but i have a small problem the problem is i want the user name to be not Sensitive to the capital letter and small letter e.x if the user name is ari and password is IT …

Software Development vb.net
Member Avatar for sknake
0
93
Member Avatar for jmoran19

Hi, hope someone can help with an issue I'm having. Basically, I've got an input file containing, amongst other things, an int on each line representing a time stamp in the form of hhmmss. I needed to make a comparison from line to line to make sure that no more …

Software Development c++
Member Avatar for jmoran19
0
102
Member Avatar for lancevo3

Hey guys I am trying to print the contents of a map container I have. I seem to be getting a nasty error from the compiler which seems to come from the pos = wordList.begin() part. any suggestions? [code=cplusplus] map<string, unsigned>::iterator pos; for(pos = wordList.begin(); pos != wordList.end(); ++pos) { …

Software Development c++
Member Avatar for twomers
0
509
Member Avatar for asong

have a java program that have evaluate thefunction,calculate the derivative and roots haw can i demonstrate numerical methods to solve the runge kutta method. This ma functiuon package Iterative.Newton; import java.io.*; import java.text.DecimalFormat; public class Newtonlastest { public static void main(String[] args) throws Exception{ BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); …

Software Development java
Member Avatar for quuba
0
677
Member Avatar for panagos

Just another way to check if a word is palindromic or not. In my country (Greece) if a word is palindromic we say it is "καρκινική" that's why i named the fuction in the code kark(). -What it does? If we would say that word has n letters,then this compares …

Software Development c
0
239
Member Avatar for joelol

[CODE]#include "stdafx.h" #include <iostream> #include <string> // say what standard-library names we use using std::cin; using std::cout; using std::endl; using std::string; int main() { // ask for the person's name cout << "What's your name? "; // read the name string name; cin >> name; // build the message that …

Software Development c++
Member Avatar for wingless
0
88
Member Avatar for Star Frost

I know this might seem like a repeat of an already existent thread, however give me a moment to explain... What I have so far is a function that reads in a script file and stores each word in an array of custom objects. function: [CODE] void fileTester::readFile( string tempName …

Software Development c++ file-stream file-system
Member Avatar for Star Frost
0
187
Member Avatar for thehivetyrant

Greetings Pythoneers. I've got this problem and the problem is thus: i have drawn a shape using [B]pygame.draw.circle[/B] i am finding it hard to make it move. i tried [icode]self.move_to(self.x-5,self.y)[/icode] and also [icode]self.forward(random.randint(0,10))[/icode] (Where forward is defined as a function as [icode]self.x,self.y + 10[/icode])<== I dont think i defined the …

Software Development python
Member Avatar for vegaseat
0
8K
Member Avatar for notuserfriendly

basically i am trying to search for similar strings in an array which is hardcoded into the script and compare them to and find the line they exist on the text file here is my code so far [CODE=perl] #!/usr/bin/perl %fruit=(banana=>1,apple=>2,orange=>5); $target = %fruit; open(INPUT, "<fruits.txt"); while (<INPUT>) { if …

Software Development apple perl seo
Member Avatar for d5e5
0
247
Member Avatar for P3run

I just started to learn Python before a week or so and i found this example and rewrited it in Notepad++ (btw it was really painfull to figure out how to connect Notepad++ with python.exe but i like notepad++ more than Python GUI) and this program just wont work nor …

Software Development gui python
Member Avatar for snippsat
0
130
Member Avatar for neithan

I'm focusing now on this I/O thing, even writing a guide by looking some sources. I want to cover it all i can about stdin i/o and if it looks good in the end i'd love to share with you. But that's still OT. I can't get rid of the …

Software Development c perl
Member Avatar for neithan
0
137
Member Avatar for shahab03

I have written a program that multiplies 2 decimals. My multiplication output is fine. However I would like to do multiplication by passing in two parameters via command line. So far e.g. lets say if I just put '3 4' in the command line without the quotes.. nothing happens... however …

Software Development assembly
Member Avatar for wildgoose
0
3K
Member Avatar for snapppy

Hi, was wondering if anyone could put this simple pseudo code into c++, i have not yet learned the code to do it and dont want to wait. If someone could post it i would appreiciate it a lot, thanks! BEGIN Enter # Clear Screen Count = 0; WHILE (Count …

Software Development c++
Member Avatar for Grn Xtrm
0
207
Member Avatar for python.noob

Hello geeks, First of all thanks to the members of this forum for their active participation, contribution and willingness to help. Now i'm in need of your valuable suggestions for my project in python. 1) I want to have GUI interface in my project and now i'm using python 3.1.1. …

Software Development gui python qt
Member Avatar for vegaseat
0
139
Member Avatar for riahc3

Hey I have a file named filetext.txt with the text: One word Two words Three words Four words and the program should read this filetext.txt and output to another file called filecopied.txt this text: One Two Three Four I have this so far: [code] #include <assert.h> #include <complex.h> #include <ctype.h> …

Software Development c file-system
Member Avatar for Tom Gunn
0
925
Member Avatar for opt!kal

Hi there, So im working on this assignment where the user is supposed to input a variety of UNIX commands and they must behave as if one typed it into the terminal. My current problem lies with when a user tries to redirect the inputted commands to some file. Currently …

Software Development c unix
Member Avatar for opt!kal
0
102

The End.