32 Solved Topics
Remove Filter
|
|
I have a Toshiba Satellite P55W-C running 64-bit Windows 10 Home. I bought it new less than a year ago. I am the only user. It has an Intel Core i7 CPU, 8 Gigs of RAM, 2.4 GHz. I'm generally surfing the web and streaming audio/video. I'm not a gamer … |
|
I've essentially copied a small project from another computer to this one. This one is running windows 8.1. What happens when I try to compile even a hello world cpp project I get this error: 'Fatal error: "iostream" No such file or directry' . I know this means the compiler … |
|
I continuously get this warning whenever a constructor delegates to another constructor within the containing type, having virtual bases. `warning C4100: '$initVBases' : unreferenced formal parameter` It's the same warning as when a parameter or local goes unused, it in this case it seems to be referring to the virtual … |
|
Hello programmers! I have been working on STL algorithms for some time now as a beginner, and I started doing an exercise, among which is the task of `use the fill algorithm to fill the entire array of strings named items with "hello"`. My code for this is below: // … |
|
I have introduced an algebra for a new memory model. Now I need to implement this using Java. Basic step of my program is: Once we need to execute an application program (exe file), My program should accept that and classify it according to its functioning. do you have any … |
|
Hi, I'm wondering if anybody knows of a python compiler to make an exe with. I have tries cx_freeze and py2exe so far, but I haven't been able to get it to work. If anyone has any good python to exe compilers please post here. Thanks, 26bm |
|
Inside FileTwo.h #ifndef FILETWO #define FILETWO #include"FileOne.h" class FileOne ; class FileTwo { public: int Test(FileOne One){ return (One.var1+One.var2);} FileTwo(void); ~FileTwo(void); }; #endif Inside FileOne.h #ifndef FILEONE #define FILEONE #include"FileTwo.h" class FileTwo ; class FileOne { private: int var1 , var2 , var3 ; public : friend int FileTwo::Test(FileOne One); … |
|
Alright, so I need some more help. This time, the problem is not inherently in the code (Though I've had trouble with that thus far too). I am currently playing around with open and close file dialogs trying to get what seems to be an out-dated "GetOpenFileName()" function to work. … |
|
** Having trouble running this code as the compiler keeps having issues with the method 'public void mannipulate()', I'm new to java so forgive my ignorance, but I've been trying to rearrange everything in every which way to please this thing and its just not turning out right. I'm sure … |
|
Hello! So here I am again asking for your knowledge and help.:$ I have this little project of embedding the g++ compiler in my software. What I have done so far is place the compiler inside the bin of my project folder, inside the Debug folder. I managed to call … |
|
I was wondering if there is any way using the mingw g++ compiler to make code that acts like this: [CODE]#define myLanguageBlock(X) doMyLanguageBlock(#X) void doMyLanguageBlock(const char* code){/*this executes the code as if it were in another language, I have already written this function*/} int main() { myLanguageBlock( this is all … |
|
[URL="http://i.imgur.com/iwNHY.jpg"]http://i.imgur.com/iwNHY.jpg[/URL] i already set a path for jdk and etc, it worked before but now it doesnt work the code works on ecclipse so the code is correct but i have to learn how to compile using command prompt check out this image i get this same error i do … |
|
I hope I'm posting in the right forum :) I'm primarily concerned with C compilers and sun's JDK, but general info is more than welcome (Documentation for self-education as well). Well, if i wrote a program like [CODE] int i = 5 printf("i is $d", i); [/CODE] Would i=5 be … |
|
Hi all, If I write a java program inside of eclipse, how can I run that program outside of it, rather than just hitting the run button in eclipse. So, I can give others the program to run on their computers. Thanks! |
|
Hello.I've been looking for a free C++ compiler for windows which supports the new standard features but i had little luck so far.Does someone have any knowledge of one? Thank you in advance. |
|
hi, how would you get a certain part of code to run while the program is waiting for the input? [CODE]string in; int n1 = 0; n1++ // get this part of code to loop while the program is waiting for the input cin >> in[/CODE] thanks. |
|
Hi, I am trying to pass a string to a MACRO using -D option in gcc. I am not getting desired output, below is snippet, please let me know what I am missing. $ gcc -o finame -D CORE="op1_log.txt" finame.c [CODE] #define STR(x) x int main() { FILE *fp; char … |
|
I'm getting errors when I try to compile this code: [CODE]public class EmployeePayRoll { /*** Class Constants ***/ /*** Defaults ***/ public static final String DEFAULT_EMPLOYEE_NAME = "Employee"; public static final double DEFAULT_PAY_RATE = 10.00; public static final double DEFAULT_HOURS_WORKED = 40.0; /*** Minimums/Maximums ***/ public static final double MINIMUM_PAY_RATE … |
|
Hello it is my first time here and I just started C++ so hopefully my question isn't too dumb or anything: I was writing this thing that can do geometric series and arithmetic series. I can write the geometric series code alright and the arithmetic series code alright but once … |
|
Ok.. so uptil now I've been using the DOS compiler and IDE for C++, version 3.0 by borland...(which is like ancient history).. But now I think it's about time to upgrade :P So since I have been away from C++ for a loooooong time, I need to start from scratch. … |
|
I dont know if i have leopard mac os x.. but it shows i have Mac OS X version 10.5.8.. i have a simple issue. i am trying to download Xcode for GCC complier... but it doesn't get downloaded as it requires me to update my software to 10.6.1.. i … |
|
take two following classes and their constructors as samples: [CODE=c++] class One{ public: One(int a,int b):adad1(a),adad2(b){} private: int adad1; int adad2; }; class Two{ public: Two(int input[]){ for (int i=0;i<10;i++) araye[i]=input[i]; } private: int araye[10]; };[/CODE] considering objects with static storage duration, I think first constructor can be applied during … |
|
:SHave they made a py2exe 3.0 yet and if so where in the internet can you find or have they just not made one yet?:confused: If not how else can I turn my programs into executables?:-/ |
|
Hi all, I am having a problem when trying to compile this. from compiler: error: name lookup of 'pixel_number' changed for new ISO 'for' scoping error: obsolete binding at 'pixel_number' I understand that I cannot use the pixel_number variable outside of the for loop, have read so in other posts. … |
|
Hi everyone, I have a "This should be simple!" kind of problem. I need to do a little socket programming on a SunOS machine. I went back to an old school assignment I did years ago, cut-n-pasted that code, intending to basically cannibalize it for the program I need to … |
|
I'm an experienced programmer of 5 years in Java & C#, but recently I decided to program in C++ as well. I'm familiar with proper code syntax and advanced programming techniques, but this compiler error i'm getting just stumps me beyond recognition, I've analyzed my code for syntax errors a … |
|
[Linker error] undefined reference to `__cpu_features_init' comes to [CODE]#include <stdio.h> int main(){ char c; printf("Hello World!"); scanf("%c", &c); } [/CODE] I don't think that it's code problem. What can I do? (Dev C++ newest version) (I tried reinstalling DEV C++) |
|
Hi, I am new to Python. I have written a routine and am trying to compile the code for distribution. I went to [URL="http://sourceforge.net/projects/py2exe/files/"]http://sourceforge.net/projects/py2exe/files/[/URL] and downloaded the file py2exe-0.6.9.win32-py2.6.exe. I am running Python 2.6 on a Win-XP Pro OS. I assume this file is a self-extracting exe. The trouble is … |
|
hello guys this is my first attempt in C++ and i am getting an error :( the programs is made to read 20 numbers and find how many of them are even (like 2,4,6,20,40) [CODE] #include <iostream> using namespace std; int c[20]; int s = 0; int i = 1; … |
The End.