Just curious, I'm wondering what all you experienced programmers or newbies (like me) out there have done. So what's the HARDEST most complicated program you've written?
Hi i would like to add some function to my app. How it is possible to get data from web page.
For example i login to webchat which is ofc https secure. And now there is some table with user replies.
How it is possible to get the table or some other html component, data to my C++ program.
Its SSLed, so we dont want to sniff http.
What should i do?
I'm new to gcc, and trying to compile a c++ program which includes mysql.h using the command:
g++ -o test test.cpp -L/usr/include/mysql -lmysqlclient -I/usr/include/mysql
It works without issue, but I was wondering if someone could explain the arguments to me. I don't like using commands I don't understand.
Thanks
I have created some program for this.But printed a,b,c values are not correct.Please check this whether it is correct or not?
n=input("Enter the no.of McNuggets:")
a,b,c=0,0,0
count=0
for a in range(n):
if 6*a+9*b+20*c==n:
count=count+1
break
else:
for b in range(n):
if…
so I'm having some trouble creating a program to measure cache size in C. I understand the basic concept of going about this but I'm still having trouble figuring out exactly what I am doing wrong.
Basically, I create an array of varying length (going by power of 2s) and access each element in the array and put it in a dummy variable. I go…
I have equation like ((3+4)-(24/5)) if user press '.' then equation ends now chk paranthesis are balance or not then solve the internal all operations what should i do? and how will this program make?? help me plz thanks alott...use array and if the parehthesis are balanced then operation must perform plz urgent help thanks alott
I've been trying to make this program in c++ with opencv that converts the image to greyscale and rotates the image afterwards, but the output I get is all kinds of messed up.
I have been searching for solutions and looking for help everywhere, but I haven't been able to find out what the heck I have done wrong so if any of you could help…
I need to supply a binary license file to a java program. What is the best way to do this? The data will change all the time so I don't want to have to write a file and then read it back every time.
The Data is coming from a PHP page
So I'm making a lotto game. You have to enter 6 lucky numbers and if they're the same as the lotto numbers then you win.
Here is my code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OefeningExaam
{
class Program
{
static void Main(string[] args)
{
…
I need to write a C program that has a parent and n children that act as follows:
Parent process:
Reads a value n from the user
Forks n children
Waits to receive exit code from the first child and prints it
Loops forever
I currently work for a bespoke software agency. Does anyone have any experience of how to win well priced work?
It seems there is so much competition from offshore/bedroom program teams, that cost is extremely competetive these days. I feel that it is very different compared to a software product company or an internal it department, in…
I've learned Visual Basic and was always taught to keep the flow of the program without interruptions, like Goto, Exit and Return. Using nested ifs instead of one return statement seems very natural to me.
Now that I'm partly migrating towards C#, I wonder what the best practice is for C-like languages. I've been working on a C# project…
Here's what my program is supposed to do:
create 4 child processes:
process 0 is reading 1 byte at a time from STDIN, then writing it into FIFO
process 1 is reading this 1 byte from fifo and write its value as HEX into shared memory
process 2 is reading HEX value from shared memory and writing it into pipe
finally process 3 is…
I have a program that generates graphs using different multi-level models. Each multi-level model consists of a generation of a smaller seed graph (say, 50 nodes) which can be created from several models (for example - for each possible edge, choose to include it with probability p).
After the seed graph generation, the graph is…
I'm trying to write a wrapper for Winamp input plugins and have hit a bit of a snag. I'd like my wrapper to be able to display a plugin's configuration dialog, which is (or should be) achieved by calling the plugin's Config(HWND hwndParent) function.
For most plugins, this works fine and my program is able to display the…
struct bucket
{
int nStrings; //No. of Strings in a Bucket.
char strings[MAXSTRINGS][MAXWORDLENGTH]; // A bucket row can contain maximum 9 strings of max string length 10.
};//buck[TOTBUCKETS];
void lexSorting(char array[][10], int lenArray, int symb) //symb - symbol, sorting based on character…
So it is my first real Android program (!hello world), but i do have java experience.The program compiles fine, but on running it crashes as soon as it opens (tried debugging, but it crashes before it hits my breakpoint). Was looking for any advice from anyone who is more experienced with android.
package…
I'm using the program to send data from database to the Excel file .
It works fine at the beginning and then becomes more and more slowly,finally it run out of the memory and the following error ocurrs: "java.lang.OutOfMemoryError: Java heap space...".
The problem can be resolved by adding the jvm heap…
I have written code in Java to read the content of a file. But it is working for small line of file only not for more than 1000 line of file. Please tell me me what error I have made in the below program.
program:
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.File;…
I need a bit of guidance with writing a C program...a bit of quick background as to my level, I've programmed in Java previously, but this is my first time programming in C, and we've been tasked to translate a word count program from Java to C that consists of the following:
Read a file from…
I downloaded the SharpSVN example they give to try and test it out but I get this error when I try and run it.
System.BadImageFormatException
{"Could not load file or assembly 'SharpSvn, Version=1.4999.376.29668, Culture=neutral, PublicKeyToken=d729672594885a28' or one of its dependencies. An…
How can I stop the ABAP extended program check (SLIN) from reporting errors in include libraries that I may not have write access to?
I like to leave the extended check with as few errors & warnings as possible, usually when I intentionally use something in a way that may cause a warning,…
I have a large C++ program that modifies the FPU control word (using _controlfp()). It unmasks some FPU exceptions and installs a SEHTranslator to produce typed C++ exceptions. I am using VC++ 9.0.
I would like to use OpenMP (v.2.0) to parallelize some of our computational loops. I've…
Hello,
I would like to convert the following Java program to a MapReduce job. I have read about MapReduce and feel like this would be a good problem to solve using it, but I cannot figure out what to do.
This basically loops through a directory of html files and parses them into a CSV…