132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for simonrangus

anyone have maybe image rotation function implemented in c (included in gtk+/gnome) environment

Software Development c image
Member Avatar for death_oclock
0
61
Member Avatar for orthographer

As some of you would already know, I made a program which accepts login and password from users and shows "*" instead of actual password characters. I know the program is grossly incorrect but I still tried to apply whatever I picked up using books and example programs. *****DISCLAIMER- I …

Software Development c
Member Avatar for orthographer
0
324
Member Avatar for jan1024188

Hello guys, I have 2 questions.... 1. I don't know what format is the best for saving screenshots in. I have tried .BMP, its good quality, but 5MB per screenshot is just not acceptable. I have tried .JPG, but quality is too low. TGA is crap (you need apple quicktime …

Software Development apple c c# c++
Member Avatar for Salem
0
172
Member Avatar for serkan sendur

Wikipedia says something like this [I]Aggregate classes An aggregate class is a class with no user-declared constructors, no private or protected non-static data members, no base classes, and no virtual functions[1]. Such a class can be initialized with a brace-enclosed comma-separated list of initializer-clauses. The following code has the same …

Software Development c++
Member Avatar for Narue
0
163
Member Avatar for yara.008

hi i use microsoft visual studio i have visual basic . net program i want publish it (make execution file) my program include voice file thanks

Member Avatar for Teme64
0
185
Member Avatar for greenbluekidz

I am supposed to code a program that uses 3 parallel arrays. The program should prompt the user to enter in a Product ID. From there it is supposed to search the ids array and then display the corresponding price and quantity remaining. It does not do this. Instead I …

Software Development algorithm c++ visual-studio
Member Avatar for greenbluekidz
0
139
Member Avatar for scru

I noticed a weird thing happening when i use this function. If the page i open is in latin-1 encoding, the bytes returned by this function would have some weird junk characters inserted in various places. However, if i use urlretrieve to fetch the page to disk, there is no …

Software Development python
Member Avatar for scru
0
210
Member Avatar for sufi89

hi i am new to all this... right now i am stuck on generic linked lists i have to create a recursive method to add newnode at end i have this so far public static <T> void insert(Node<T> l, Node <T> newNode) { if (l == null) {l = newNode; …

Software Development java
Member Avatar for sufi89
0
110
Member Avatar for Liszt

If I have this string: "Hello" How would I do to encrypt this string ?

Software Development c++
Member Avatar for Liszt
0
113
Member Avatar for anu123d

Project Name : " Employee Information System " I am trying to add a new department name in "dept.txt" file. using file Operations and funcctions defined in String Header file in C Problem is in fnAddDepartment() function. When i run program in VC++ compiler, it says : Debug Assertion Failed! …

Software Development c file-system operating-system
Member Avatar for Murtan
0
223
Member Avatar for ribena500

Hi I got this code: (hours_worked[i]-35)=overtime_hours[i]; (overtime_hours[i])-(hours_worked[i])=normal_hours[i]; I get this error: error C2106: '=' : left operand must be l-value What does this mean?

Software Development c++
Member Avatar for Salem
0
75
Member Avatar for winky

Hey everyone, relatively new to C#, and completely new to the C# forums. Just have a quick question.... I'm making a web service oriented browser, and am trying to use a service that updates a 5-day forecast. Anyways... I am wondering why my code below does not work: [code] groupBoxes …

Software Development web-browser xml
Member Avatar for LizR
0
228
Member Avatar for s-a-n-d-e

i need to merge two arrays..assign them to another array..but in the third array..no similar values shall be printed..i badly need help.. a big big thanks in advance..

Software Development c
Member Avatar for Salem
0
174
Member Avatar for nnobakht

Hey guys, I have a TreeView in which i am usign the DoubleClick event handler. The first time i double click on the grid (this happens everytime the grid is repopulated as well) the event does not register. For example if i double click on a checkbox (single click will …

Software Development
Member Avatar for wilsotc
0
89
Member Avatar for sarawilliam

Hi I want to know how we can measure C execution time by seeing the clock cycles generated from the assembly code. Thanks...

Software Development assembly c
Member Avatar for Narue
0
204
Member Avatar for skaterz

Hello.. I dont know where to start with my question. I have a website that displays products (products retrieved from a database). I use Datalist to display these products and this Datalist is linked to a Command in the C# code. Within this datalist I have <itemtemplate> </itemtemplate> tags Between …

Software Development c# session
Member Avatar for skaterz
0
117
Member Avatar for jerronimo3000

ok, i'm still on Hello World because of this. I can compile and link my app without any warnings or errors, but when I run the .exe it will come up with a black box that prints Hello World and then dissappear. It comes up and terminates in less than …

Software Development c++
Member Avatar for VernonDozier
0
128
Member Avatar for drjay1627

I'm working in a project and part of it is to do a small encryption program. W can use substitution encryption where each character is substituted by another pre-determined character. Can someone kindly help me with an algorithm. I just can't think any more! Thanks drjay

Software Development algorithm c encryption
Member Avatar for drjay1627
0
161
Member Avatar for Dendei

Hello i need some help to understand my work heres the code [CODE] #include <iostream> #include <string> #include <sstream> #include <vector> #include <fstream> using namespace std; struct cell1 { int value1; } cell1Data; struct cell2 { int value2; } cell2Data; int main(void) { ifstream myfile("example.txt"); if(!myfile.good()) return 0; vector<cell1> data1; …

Software Development c++
Member Avatar for Freaky_Chris
0
105
Member Avatar for apolo_x

Hi! I want to get information from a sports web site (ex:[url]https://www.bwin.com/pt/futebol)[/url], and I already tried htmllib and some other stuff.... the problem is that I can get the page's source code but not the same information that I can see in my browser. Particularly, I'm interested in the teams …

Software Development open-source python web-browser
Member Avatar for Stefano Mtangoo
0
224
Member Avatar for murderotica

Hello there, I've been messing around with System.Web.Mail these days and I was able to create an application that could send a mail using smtp. My problem here is, Idk how to connect my application to an exchange server and I don't have any server yet. I'm kinda noob in …

Software Development web-server
Member Avatar for Hitandrun
0
176
Member Avatar for urstez

hello everyone.. im new to this forum.. hey guys..can anyone tell me where do i get good tutorials for IA64 assembly.. thanku

Software Development assembly
Member Avatar for Evenbit
0
196
Member Avatar for nikk

Hello Friends, I've to work with "Quicktime". But, I'm finding it quite difficult to find the resources which will help me in understanding the technology. Can you please suggest me any links which will help me in understanding Quicktime classes and methods, during my project building?

Software Development java qt
Member Avatar for quuba
0
276
Member Avatar for manoj_582033

Hi Friends i am using vb.net & i have a textbox on that ,I want only numeric value on that textbox & if i type alfabetical on that textbox so that must give me a message to that type numeric value only I m not able to doing this plz …

Software Development vb.net
Member Avatar for rapture
0
125
Member Avatar for britto

hi everyone... im doing an ide for my project... i need to check for errors while typing and must underline them .... i need to do it for c,c++,java using java..... i have no idea about this .... can anyone please help me?????

Software Development ide java
Member Avatar for britto
0
83
Member Avatar for Liszt

I have done a windows form application that I have debugged in "Release Mode". I need to ask 2 questions at the same time because I think they depend on eachother and that is my questionmark: 1. When starting this program, there will be a panel visible where you will …

Software Development c++
Member Avatar for Liszt
0
136
Member Avatar for tillaart36

Hello, I'm writing my code into the 'vizard python editor' and sometimes it feels a bit bugged or something, now I get an error message that my class has no attribute. I feel it has to do something with editing in vizard because in other editors I don't think i …

Software Development python
Member Avatar for jlm699
0
36K
Member Avatar for denni11998833

Hey, I was wondering if someone could help me out here! I am trying to sort a list of files and remove the last x ones if it exceeds a constant variable (maxbuffersize). Below you can see what I did: I tried to sort the vector based on the predicate …

Software Development c++
Member Avatar for denni11998833
0
2K
Member Avatar for faisaly
Member Avatar for stultuske
0
126
Member Avatar for seebharath

I have a a function that is written in pure unmanaged c++ . i want to convert this to a dll and use this in a c# application .. Is this possible and if so how? Can anyone please give some sample code to do this or any links. I …

Software Development c c# c++
Member Avatar for Ramy Mahrous
0
293
Member Avatar for ryan311

how can i send the 1 form in to another PC? because i have POS or point of sales system? is there anyway to send my 1 form to another pc? how?

Software Development visual-basic
Member Avatar for ryan311
0
56
Member Avatar for azwraith69

good day everyone.. thx for reading.. this is my problem: i want to use the write() function, in ofstream, to write strings into a file.. but write() requires parameters of const char pointer and streamsize... [icode]for(unsigned i=0; i != questions.size(); i++) { qptr = &questions[i]; //vector element(string) tempfile.write(qptr, stringsize); }[/icode] …

Software Development c++
Member Avatar for azwraith69
0
163
Member Avatar for Andyyy

Hello Developers, [code] <p class="abc-srch-Metadata"><span class="abc-srch-URL"><a href="http://www.abc.ac.uk/pub/xyz.aspx?e=20" id="CSR_U_2" title="http://www.abclondon.ac.uk/pub/xyz.aspx?e=20" dir="ltr">http://www.abclondon.ac.uk/pub/xyz.aspx?e=20</a></span> - 13KB </p><span class="abc-srch-Icon"><a href="http://www.abclondon.ac.uk/pub/pqr.aspx" id="CSR_IMG_3" title="http://www.abclondon.ac.uk/pub/pqr.aspx"><img align="absmiddle" src="/_layouts/images/html16.gif" border="0" alt="File with extension: aspx"></a></span><span class="abc-srch-Title"><a href="http://www.abclondon.ac.uk/pub/xyz.aspx" title="http://www.abclondon.ac.uk/pub/xyz.aspx">ABC Publications Listing </a><br></span><div class="abc-srch-Description">Alcohol and the <b>lime</b> in perspective [/code] Can any one help me out with the xpath for retreiving title "ABC …

Software Development xml
Member Avatar for mlohokare
0
151
Member Avatar for priyankasoni

can i know what does 'occurence of characters & special characters like \n,\t ,white spaces given text input' mean . can i know the code for writing this program?

Software Development c
Member Avatar for Nick Evan
0
73
Member Avatar for hsoni007

How can i make a chequebook balancing program of an user’s account? It will use getline() to read a line, which will contain either the word [B]“withdrawl”[/B] or [B]“deposit”. [/B] The next line will contain the amount of the withdrawl or deposit. After reading each pair of lines, the program …

Software Development c
Member Avatar for riahc3
0
201
Member Avatar for nlblnx

Hi all, I am just wondering if someone can help me. Basically, I have the following code that I am using to allow me to draw on a picturebox. There are a few things that I need to be able to do and I can't work out exactly how to …

Software Development
Member Avatar for LizR
0
217
Member Avatar for veer123

Hi want to implement an unordered hashmap ie. FIFO implementation . Below is the code.Please help me with this. [code] #include <hash_map> #include <iostream.h> int main() { hash_map<int,int>testMap; testMap[1]=1; testMap[3]=5; testMap[2]=2; typedef hash_map<int,int>::iterator hashIter; for(hashIter it=testMap.begin();it!=testMap.end();it++) { cout<<it->second<<"\n"; } } [/code] It gives output as 1 2 5 But I …

Software Development c++
Member Avatar for veer123
0
150
Member Avatar for me_ansh

The man page of 'sscanf' says: "EOF is also returned if a read error occurs, in which case the error indicator for the stream (see ferror(3)) is set, and errno is set indicate the error" I am confused that what kind of read error may occur if sscanf is reading …

Software Development c
Member Avatar for me_ansh
0
94
Member Avatar for Rein Valdez

Sir, i do have this problem and im quite unaware about the variable declaration and the algorithm in creating this problem? thank you.

Software Development algorithm c
Member Avatar for Rein Valdez
0
117
Member Avatar for maccold321

Write a program that initializes a vector with the following array values. int arr[] = {1, 6, 2, 9, 12, 15, 33, 28}; Compute the average value, and then output each value along with its deviation (+/‐) from the average. What i have so far is only the average... [code] …

Software Development c++
Member Avatar for vmanes
0
112
Member Avatar for complete

What is a good way to code a messagebox in C#, like the AfxMessageBox in used in Visal C++? Also, is there a good way to write information out to a log file?

Software Development
Member Avatar for cVz
0
253
Member Avatar for Carlo Gambino

Hello, I have been using the python challenge to teach myself python as my first programming/scripting language outside of HTML. As I go along, I find that while I'm understanding the concepts rather well, I am not being as efficient as I could be. While the code I whip up …

Software Development open-source puzzle python
Member Avatar for Stefano Mtangoo
0
137
Member Avatar for akim_atl

1 of 25 The ______ of a function take(s) information into the function from the calling statement. local variables input arguments output arguments prototype purpose 2 of 25 What is displayed by the C statements below if the value input is 3? scanf ("%d", &n); if (n = 5) printf("Equal\n"); …

Software Development c
Member Avatar for WaltP
0
269
Member Avatar for number87

#5report function report { clear echo "Name, Position, Department, Salary" echo "========================================" awk 'BEGIN{FS=","; RS="\n"} {printf "%s, %s, %s, %s\n", $1, $2, $3, $4}' $dataFile awk '{total += $4}END{print total}' $dataFile } i am trying to print the total sum of the salary or $4 field. However i cant figure …

Software Development finance shell-scripting
Member Avatar for Salem
0
152
Member Avatar for demeryjo

In my programming class, we need to write a program where the user is prompted for a value. Once that value is provided, the program is supposed to multiply its digits. For example: if the user typed 1234, it would multiply 1*2*3*4 and give the answer. I'm not sure how …

Software Development python
Member Avatar for Stefano Mtangoo
0
109
Member Avatar for ckd327

Hi I am just beginning using Java and have two programs due tomorrow for class. Both programs are nearly complete however I keep getting similar errors on both. The first program's error is on the 22nd line starting "system.out." and says that a ) is expected. Here is what I …

Software Development java
Member Avatar for stephen84s
0
100
Member Avatar for rak4u

Hi till now i am used window application in which there is no problem in connection using following code [code] Dim cnn As SqlConnection cnn = New SqlConnection("data source=RAKESH-676DD0E1;initial catalog=rw;integrated security=SSPI") cnn.Open() Dim da As SqlDataAdapter Dim dt As New DataTable da = New SqlDataAdapter("select * from publicity", cnn) da.Fill(dt) …

Software Development dataset open-source vb.net web-server
Member Avatar for rak4u
0
126
Member Avatar for besktrap

does anyone know how to shutdown a computer on windows XP (using python of course ;) given the IP address and the computer name (probably don't need it, though)? I don't want to use os commands like os.system("shutdown -i"). Thanks in advanced!

Software Development python
Member Avatar for mn_kthompson
0
113
Member Avatar for revenge2

Does anyone know of any good urllib tutorials other than [url]http://www.voidspace.org.uk/python/articles/urllib2.shtml#introduction[/url] & [url]http://effbot.org/librarybook/urllib.htm[/url]. Something which a little beginner friendly:| with good explanations. -Thanks

Software Development python
Member Avatar for mn_kthompson
0
204
Member Avatar for code46

Hello, I wrote a quicksort program that will give me the execution time of the algorithm. I was running it for 1,000, 10,000, 100,000, 1,000,000, and 10,000,000 numbers. Everything was going fine and then when I changed the amount of numbers it is sorting it gave me a segmentation fault …

Software Development algorithm c++
Member Avatar for code46
0
214

The End.