- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
29 Posted Topics
Hello, Quick question, is there anyway except saving a word doc as a webpage (filtered) to convert a word doc to a webpage. Thanks. | |
I have 2 processes (producer and consumer) sharing an int deque in shared memory, I have the producer process put 2 numbers in the deque and then it gets in a wait state losing its mutex lock. I then have the consumer process removing the numbers and printing them. It … | |
Re: You could go about this using vectors and the sort stl algorithm if your aim is to just sort a 2d array (provided you dont have to write your own sort routine). #include <iostream> #include <vector> #include <algorithm> #define all(c) sort(c.begin(), c.end()) using namespace std; int main() { vector< vector<int> … | |
Re: You could use something like ffmpeg and call it as a subprocess from python. Please see this post for examples, http://stackoverflow.com/questions/17311708/how-to-join-two-video-files-using-python Also for some basic video files you could open then with the b+ option (binary) and try appending them, some players might be able to play them. | |
Hi, I wanted to get into driver dev. While reading a book on driver dev it was mentioned that it is better to work of a mainline branch from kernel.org instead of a linux patch as they usually change the kernel api? Has anyone had problems do general linux driver … | |
Re: Hi, I am unable to compile the code, gives an error on 192, return-statement with no value, in function returning ‘int’ [-fpermissive]. Why are you using void main()? Also what compiler are you using? Thanks. | |
Re: Hi, Was anyone able to get easy_install pysnmp to work with python 2.7.1 and easy install 2.7 on windows? I get the following errors. [CODE] C:\Documents and Settings\rudasi>easy_install pysnmp Searching for pysnmp Reading http://pypi.python.org/simple/pysnmp/ Download error: [Errno 10065] A socket operation was attempted to an unreachable host -- Some packages … | |
Hi, I have a file test.txt, this file has many pathnames such as, C:\xx\yy\zzz\bd\hello C:\xx\yy\zzz\bd\bye C:\xx\yy\zzz\bd\cd\de\name C:\xx\yy\zzz\bug C:\xx\yy\zzz\dfdfd\gt I want to use basename or any other method to get the the last filename. At the moment in my batch script im unable to loop through the file and use basename … | |
Hi, I have a file.txt, I need to enter the data in string. Currently my code looks like this, [CODE]#!/usr/bin/perl open myfiles, "file.txt" or die "couldn't find file: $!"; while (<myfiles>){ $string .= $_; } print $string; close(myfiles);[/CODE] The output when I print the string is like hello.c work.c office.c … | |
Hi, Im trying to make a batch script which can go through a directory and pick all the .txt files and copy the name in a file. Ive been able to make a script which can do this in a particular folder but if there is a folder in the … | |
Hi, Im working on a robotics project and was wondering if anyone new any tutorials on how to setup an arduino to take input from a wireless module. I was thinking there would be a pin on the wireless module which is an output pin and I just have to … | |
Re: does the user enter 1 value only? | |
Hi, Does anyone know how to view the allegro library. I wanted to make some changes which can help my game. Thanks | |
Hello, I created a program which converts . xls to .csv. The problem is that the .csv file does not have similar formatting such as the column width is reduced causing dates to show up as ######. Does anyone know how I can solve this formatting issue. Thanks, Rahul | |
Re: A function for factorial will be something like this [code=cplusplus] int factorial(int n) //you are passing the value n fromyour main { int x=1; for(int i=2;i<=n;i++) { x*=i; } return x; } [/code] This should calculate the factorial. | |
Hello, I just had a midterm and there was a question where we had to right a program which can calculate all the numbers which form quadruplets. A quadruplet would be x^3+y^3+z^3=a^3 The program should only run till a<25 also, 0<x<y<z<a at the end we had to output how many … | |
Re: Before inputing data you will be declaring the type of the data and so the compiler will give an error if you enter a different type eg, [code=cplusplus] int number; cin>>number; [/code] if you then enter an integer it will work but if you enter a character it wont similarily, … | |
Re: Hi what I would is [code=cplusplus] cout<<"Please enter the radius"<<endl; //prompt the user for an input double radius; // declare the variable which will hold the radius cin>>radius; //make the user enter the radius double area=M_PI*radius*radius; // i think you used the wrong formula cout<<"user entered: "<<radius<<endl <<"area is: "<<area; … | |
Hello, I want to write a program using VBA that can make a new data sheet from an old one with specific columns in the new data sheet. After making this new data sheet i want to convert it to .csv. Any ideas how i can go about this. Thanks. | |
Hello, I want to write a program using VBA that can make a new data sheet from an old one with specific columns in the new data sheet. After making this new data sheet i want to convert it to .csv. Any ideas how i can go about this. Thanks. | |
Re: Hello, I am also a beginer programmer. I think the problem with using [code=cplusplus] while(OpenFile.eof()) [/code] is that it reads the last data entry in the file twice. What I think is happening is that your sorting::read function is reading the values into the array but then you use a … | |
Hello I want to write a program in c++ to convert certain rows which i can choose from a table in excel to .csv. Anyone done anything similar? I am not sure how to do this, still thinking, any suggestions. | |
Re: Hi, You can try DEV Bloodshed, you can get it at [url]http://www.bloodshed.net/[/url] | |
Re: Hi, Try Using, [ system("pause"); return 0; ] Just before the end of the program (last curly bracket) | |
Re: Hi, I agree with ArkM, passing the month array at the same time and swapping it would be a good option. | |
Hi, I have been trying to figure this out and I know it must be something simple but I cant get it. Why does the following code give an answer of 1. double a=8; cout<<pow(a,1/3); I would think it should be 2. Thanks | |
Re: Hi, I suppose the problem is solved though you can make it a bit more user friendly by using a char insted of an int like, char choice; and then in your while condition use while(choice=='y'||choice=='Y'); | |
Hi, I recently got a project where i have to make a simple access database and a webpage which serves as a form to enter data to the database. I dont have experience with web design but i have some experience with access. Would anyone know any good books to … | |
Re: Hi, My name is Rahul and i am a first year engineering student. Recently started programming in c++. I would really like to learn vb and am in the process of making a database with webpage front end. would like to learn a lot from you guys. Thanks. |
The End.