43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for tony75

Hi I’m working right now with computer forensics. I have an xml file which I have saved from Process Monitor . The file look like <?xml version="1.0" encoding="UTF-8"?> <Company>Sysinternals - www.sysinternals.com</Company> <module> <Timestamp>130412795960224800</Timestamp> <BaseAddress>0x6de80000</BaseAddress> <Size>24576</Size> <Path>C:\Windows\system32\Riched32.dll</Path> <Version>6.1.7600.16385 (win7_rtm.090713-1255)</Version> <Company>Microsoft Corporation</Company> <Description>Wrapper Dll for Richedit 1.0</Description> </module> <module> <Timestamp>130412795960224800</Timestamp> <BaseAddress>0x6f3b0000</BaseAddress> <Size>65536</Size> …

Software Development file-system python xml
Member Avatar for tony75
0
499
Member Avatar for Nikolas9896

**WHY StrCpy - dosen't work normally :( ? Where is mistakes?** #include"string.c" int main() { printf("Hello World!\n"); char *text = "GOOOD TEXT ALL TIME VERY POOR "; int temp = strlen(text); char *copy_text; printf("size text: %d\n", temp); StrCpy( copy_text, text ); printf("TEXT: %s\n COPY_TEXT %s", text, copy_text ); return 0; …

Software Development c
Member Avatar for Banfa
0
211
Member Avatar for moaz.amin.37

my question is that when we use static data member and ststic function and nobody can not satisfy me about this question i need actual reason of using the static data member and ststic member function

Software Development c++
Member Avatar for deceptikon
0
850
Member Avatar for moaz.amin.37

write a c++ class run that contains followin data member 1)name of runner. 2)distance covered by runner. class ha following member function 1)get function for input runner name and distance. 2)show function to display runner name and distance. the user should be able to show the name of the runner …

Software Development c++
Member Avatar for Kristian_2
0
891
Member Avatar for ddanbe

Hi, in my polynomial class all the terms consist of a List of tuples (double, uint), representing the coefficient and the exponent; a real and a natural number. The +operator implementation works great, but I was wondering if I could avoid to write two times `grouping.Sum(s => s.Item1)` It somehow …

Software Development mathematics
Member Avatar for ddanbe
0
241
Member Avatar for Stefan_2

This is what I have to code. Input an array of numbers(any numbers that user inputs from standard input, aka keyboard), remove numbers from array that are not 0 and 1. Thay array should now be bitwise moved with << or >> (again user choses the number of spaces moved …

Software Development c c# c++
Member Avatar for Stefan_2
0
288
Member Avatar for Pyler

Suppose I have the following generic classes; Queue<T> KellysCoffee CheckOut and the following generic interfaces QueueInterface OrderLineInterface Suppose I want `KellysCoffee` to extend Queue class and implement `OrderLineInterface` This is how I've done it private class KellyCoffee<Order extends Queue<Order>> implements OrderLineInterface{} Now when I try to implement `CheckOut` public class …

Software Development java queue
Member Avatar for Pyler
0
297
Member Avatar for Zcool31

I'm trying to write a simple game using SDL and OpenGL. Up until now, I was using purely SDL and pixel manipulations on the framebuffer to draw lines and other shapes. However, as you would expect, that got unbearably slow as the number of objects on the screen increased. Now …

Software Development c++ opengl ubuntu
Member Avatar for Константин_2
0
20K
Member Avatar for tanatos.daniel

I am desperately trying to add a DataGridViewComboBoxColumn to my DataGridView programatically. Here is the Code I've got so far. DataTable dt = new DataTable(); dt = _userBL.getUsersTable().DefaultView.ToTable(false, "Person_ID", "FirstName", "LastName", "Title", "Username"); dataGridView1.DataSource = dt; DataGridViewComboBoxColumn ComboBoxCell = new DataGridViewComboBoxColumn(); ComboBoxCell.Name = "State"; ComboBoxCell.ValueMember = "State";//ComboBoxCell.DisplayMember = "State"; ComboBoxCell.DisplayMember …

Software Development
Member Avatar for tanatos.daniel
0
240
Member Avatar for Hector_2

I can't get the code to display in an ordered list. // Chapter 5 - Homework Assignment #include <iostream> #include <cstdlib> using namespace std; // // DECLARE FUNCTION HEADER FOR // CLASS ListNode class ListNode { public: ListNode(double v, ListNode *p) { value = v; next = p; } private: …

Software Development c++ linked-list
Member Avatar for Hector_2
0
196
Member Avatar for priyanka raj

Would you please help me in writing a c code to read data from a file and perform 1)numeric sort, 2)alphabetical sort. the file may contain data of any kind.Like it may contain only numbers,only names or a database of employees of a company.(which contains their employee id,name,designation and salary,....in …

Software Development c c# c++
Member Avatar for aaaymen
1
7K
Member Avatar for sobias

Hello guys, I'm completely losing it. The question asks to emplement an electronic directory traverse in size a chosen folder (using JFileChooser)and print the structure with the calculated the size of each folder and file. Finding the file size is easy using File.io `getSize()`. However, to find the size of …

Software Development file-system java
Member Avatar for JamesCherrill
0
313
Member Avatar for alex.dimofte.5

I am developing a client server application in C#. I am sending from my server to client an object of `Student` type which I serialize on the server side and deserialize on client side. The serialization and deserialization are as follows : // server side serialization. Student s1 = new …

Software Development c c# c++ client-server
Member Avatar for alex.dimofte.5
0
280
Member Avatar for Xecantur

It's been awhile since I've needed help, but I can't for the life of me figure out why subtraction isn't doing what it should be I'm clearly missing something or some change to how C++ interprets subtraction, if you could point me in the right direction that would be awesome …

Software Development c++
Member Avatar for Xecantur
0
145
Member Avatar for dennis.ritchie

I want to declare an array of type (char / string) confused! dunno which one.. which will store 5 names this code couldnt work char names[5]={monitor,cpu,mouse,joystick,system}; someone guide me please

Software Development c++ pc-peripheral
Member Avatar for deceptikon
0
314
Member Avatar for Scooterman1

I am writing a program where the user enters 2 strings and the program checsk to see if any characters are in both strings, and if they are, remove them from the first string and print it. So i have this at the moment, and it's almost working but it …

Software Development c++
Member Avatar for asmita.saha.1
0
4K
Member Avatar for Vikram Sehgal

Hello, so i am making a shooter game, and i want the asteroids or '@' to spawn randomly along the y axis and fall down (- y axis per second) compiler:- codeblocks os:- win 7 thanks.

Software Development c++
Member Avatar for Vikram Sehgal
0
313
Member Avatar for ktolso03

So I am not getting the data from text1 to load properly(I would assume text2 is the same). If I step through it the variables load and then once it reaches Dim A() etc. it gives the "path's format is not supported" error. I have changed up how i'm getting …

Software Development file-system vb.net
Member Avatar for ktolso03
0
193
Member Avatar for moaz.amin.37

hy i have a problem in a Result programe of C++. I want to find 1st,2nd and 3rd position from any number of students. I already have a code to find first three largest element of array but problem is that 2 or 3 students marks can be equal but …

Software Development c++
Member Avatar for Ancient Dragon
0
220
Member Avatar for moaz.amin.37

my problem is how to use if else statement with the use of character type string (char str[40]) for exemple char str[30]; cin>>str; or gets(str) or getline(str,30) if(str=="hello") cout<<"world"; i search this everywhere but every answer could not satisfied me.

Software Development c++ programming-construct
Member Avatar for Ancient Dragon
0
325
Member Avatar for ParPau

Have first part of program written. It will use enum array for month and average rainfall amount. It starts at January and runs through December. Second part is to ask user at what month they want to start (example, April). The printout would then start at April of year -1 …

Software Development java
Member Avatar for jwenting
0
271
Member Avatar for John A.

Hey guys, I'm trying to get all links on a website using BeautifulSoup, Queue, Threading, and urllib2. I am specifically looking for links that lead to other pages of the same site. It runs for a few seconds, going through about 3 URLs before giving me the error: Traceback (most …

Software Development python queue
Member Avatar for Sky Diploma
0
732
Member Avatar for theashman88

It keeps telling me there is an error on line 22 when I run the program. Does anyone see the problem. My goal was to create a jagged array where the first block had 3 grades, the second block had 2 grades, and the third block had 4 grades. using …

Software Development
Member Avatar for Momerath
0
185
Member Avatar for ParPau

All, what I am trying to do is isolate markings (differences) in images. I have an unmarked image (I1), a marked image (I2) and a third image (I3). I would like to compare I2 against I1 and store the x,y (or array of pixels) of the differences (isolate markings). I …

Software Development image java
0
176
Member Avatar for lithium112

If there is something I understand least of in programming, it's accessing arrays. Does anyone know why this won't work? I can't find the answer anywhere. What I'm basically trying to do is take the months that have 30 days and perform a math problem, but I can't seem to …

Software Development
Member Avatar for lithium112
0
152
Member Avatar for mavtcr

Friends I have a problem in totalling the variable .When I use my code I am not getting the answer as I expected. My code is as below Jsharbal = Format$(TRS("Sharbal"), "#,##0.00") Jworkbal = Format$(TRS("workbal"), "#,##0.00") Jsalabal = Format$(TRS("Salabal"), "#,##0.00") Jprofit = Format$(TRS("Prflbal"), "#,##0.00") CRTOTAL = (Val(Jsharbal.Caption) + Val(Jworkbal.Caption) + …

Software Development visual-basic
Member Avatar for mavtcr
0
251
Member Avatar for Kopals

I write the program in maximized screen. But my output screen is so big that I cannot see the output. The lines in which output is shown are out of the screen. When I exit TurboC, then only I can see the output as the screen is in restore down …

Software Development c
Member Avatar for Kopals
0
135
Member Avatar for lithium112

Hello, Below is a simple gun simulator for the console, but everytime I hit spacebar, I have to hit it twice before the next line will pop up in the console. This started happening after I inserted the last 'if' statement in order to reload the gun. Does anyone know …

Software Development programming-construct
Member Avatar for lithium112
0
189
Member Avatar for DeepKiran

HOW TO ADD DATETIMEPICKER CONTROL IN THE COLUMN OF DATAGRID.........TO PICK THE DATE AT RUN TIME

Software Development vb.net
Member Avatar for DeepKiran
0
323
Member Avatar for GagaCode

Hey all ,,,, basicly i come from a vb language to c# and i'm using couple of varables and constant that i'm using upon all my project so is there any way that i can set like a public variable that i can use every time i need or even …

Software Development c c# c++
Member Avatar for deceptikon
0
223
Member Avatar for Jahliah

The output that i get keeps repeating. For example, strInput= "orange~banana~banana~apple" but what i get is this output= "orange~orange banana~orange banana banana~orange banana banana apple" I'm pretty sure my regex is right. Any help would be much appreciated. Thanks! using (StreamWriter write = new StreamWriter(filePath, true)) { string[] line = …

Software Development apple regex
Member Avatar for Sulaiman_1
0
171
Member Avatar for mustafaaltup

how read from file and set txte in jTextArea(use IDE netbeans )

Software Development ide java
Member Avatar for jwenting
-1
187
Member Avatar for GagaCode

hey all again i have a little issue it may be a little stupid but i'm not able to figure it out what i'm trying to do is to make a counter ,, i'm trying to get a number from database and increment 1 to it and adding it one …

Software Development c c# c++ microsoft-access
Member Avatar for Sulaiman_1
0
257
Member Avatar for TheFearful

I am having trouble finding out if I did the header correctly #include <iostream> #ifndef TREE #define TREE // Node class class Node { int key; Node* left; Node* right; public: Node() { key=-1; left = NULL; right = NULL; }; void setKey(int aKey) { key = aKey; }; void …

Software Development c++ programming-construct
Member Avatar for Kristian_2
0
206
Member Avatar for theashman88

So I'm basically trying to recreate the simulation of two dice being rolled, and I need to count the frequency in a two dimensional rectangular array, then display the array. I'm so lost I wrote some code but it didn't work, can anyone help. This is the assignment I'm not …

Software Development
Member Avatar for cgeier
0
441
Member Avatar for jhender4880

I have this working like it should (I think) except that it is cutting off the first letter of the first display name unless I add a space before the name. I have tried using just using cin >> soccer[i].name but it doesn't work, it skips over the name entering …

Software Development c++ display
Member Avatar for tinstaafl
0
2K
Member Avatar for izzytoots

So I am working on a simple assignment for my C class that reads a formatted file and prints information about the file based on the format. The file format looks like this: #Domain Alexa Rank Site Name #------------ ----- ------- --------- amazon.com 13 1177136 Amazon.com google.com 1 4533883 Google …

Software Development c programming-construct
Member Avatar for izzytoots
0
194
Member Avatar for pbarks1

I have managed to successfully add two counters, on which counters from 00:00 and the other from 00:45. The problem i have though is that the counter resets to 00:00 when the counter reaches 60:00 minutes. I need the counter so that it goes to 100:00 or more. Dim starttime …

Software Development vb.net
Member Avatar for pbarks1
0
189
Member Avatar for learner_new

Hi guys, Error- collect2.exe:fatal error:cannot find 'ld' compilation terminated Compiler:gcc library:mingw I have done quite a bit of internet search and followed a discussion pertaining to this on daniweb,but to no avail.Am working on code blocks. Initially there was no problem, then i linked libws2_32.a and even though it compiled …

Software Development c++ ubuntu
Member Avatar for learner_new
0
4K
Member Avatar for ravi_14

![6b87dfe9bac7df6c309f7266d28a4ad0](/attachments/small/4/6b87dfe9bac7df6c309f7266d28a4ad0.JPG "align-left") i am reading "pointers in c by naveen toppo" .According to him program crashes when it encounter int y=*ptr; i dont understand why it should crash?i think its correct. *ptr gives int value. please refer attachement.

Software Development c
Member Avatar for Ancient Dragon
0
169
Member Avatar for varshaholla

hello, i want to know whether i can display an image from the path i have selected? like, i have a path for example: c:\user\desktop\33.jpg, and i want to take only that jpg file and i have to display that image using label or something. If it is possible, i …

Software Development display file-system image python tkinter
Member Avatar for varshaholla
0
337
Member Avatar for Emma_3

Line 49 is giving me a C2679 error and I'm not sure how to fix it. Help? #include <iostream> #include <fstream> using std::cout; using std::cin; using std::ifstream; using std::ofstream; const int MAX_SSN = 12; const int MAX_WAGE = 6; const int MAX_HOURS = 3; const char STATUS = 1; int …

Software Development c++ file-system
Member Avatar for Ancient Dragon
0
397
Member Avatar for Covinus

greetings just started with C/C++. Im not quite comfortable porting from java to c/c++. Pointers are quite hard at start. So pls help me with this problem I want to copy the exact data of a certain pointer to an array of struct. Not just point a pointer from another. …

Software Development c++
Member Avatar for Tuyen
0
5K
Member Avatar for shurooqalhodar

hello there i have a homework in c++ and a i dont know how to do can you help me please...

Software Development c++
Member Avatar for Kristian_2
0
106
Member Avatar for new_2_java

Hi all, I have a J2EE web application that I am integrating with LDAP to implment Password Reset functionality to allow AD users to change their own password. My code works at times, and sometimes it stops working throwing [code]LDAP error code 52, initializing SSL/TLS error.[/code] I don't know why …

Software Development cybersecurity java
Member Avatar for new_2_java
0
2K
Member Avatar for pbarks1

I'm using a timer which counts up on a button click when i press it, and when it reaches the time i desire, usually around the 45 minute mark i click my other button which stops the timer and the time remains static, so if i click my button to …

Software Development vb.net
Member Avatar for oussama_1
0
252
Member Avatar for syasya

Hi guys , I would you to help me to solve this problem First , user need to input 10 numbers Ex : 85 11 36 174 112 24 73 52 183 149 Next , user need to input the initial number . This initial number will determine whether the …

Software Development c c# c++ seo
Member Avatar for Kristian_2
0
14K
Member Avatar for rody9

Hello,I am Vanen,from Mauritius Island,new to c# and vs. I am getting difficulties while saving values from my datagrid to database. If possible,option for selecting all the rows and option for selecting which rows to save to database from the datagrid. Can someone guide me?please! Thanks in advance.

Software Development vb.net
Member Avatar for rody9
0
216
Member Avatar for Raymond_3

this is my code, the problem the compiler is saying is i need an extra parentheses after 5 in get fahr, but i know that cant be it... help meeeeeee please :) public double getFahr() { if (tempUnit.equals('C')) { return (5(tempNum-32)/9); } else { return tempNum; } } public double …

Software Development java
Member Avatar for JamesCherrill
0
192
Member Avatar for ikel

I's like to simulate the behaviour of Dynamixel Pro's robot actuator, including the control table, please see [it here](http://support.robotis.com/en/product/dynamixel_pro/control_table.htm). I can simulate the robot actuator fine, but simulating the control table is a bit puzzling for me. The control table has address from 0 - 892. One way I can …

Software Development java
Member Avatar for JamesCherrill
0
303

The End.