30 Topics

Member Avatar for
Member Avatar for Johannes C.

**Yesterday, OpenAI's inaugural [DevDay](https://devday.openai.com/) conference in San Francisco unveiled a series of groundbreaking announcements, leaving the tech community humming with both excitement and a degree of uncertainty. The reveal of GPT-4 Turbo, a new wave of customizable AI through user-friendly APIs, and the promise to protect businesses from copyright infringement …

3
244
Member Avatar for laurel.jackson.12

Write a program that prompts the user for a value for i and displays the e value, and this is all i have so far. I was told it's suppose to have two for loops but i'm not sure where and how to do it and i know my output …

Member Avatar for AssertNull
0
3K
Member Avatar for IndieDeV2002

I have been developing a simple java game, however I would like to add some Music to my game because it seems quite boring whenever you play it.

Member Avatar for bCubed
0
902
Member Avatar for GeekPlease

Good day folks, I hope you can help me with this one, I want to create a game. Can you tell me where to start, what softwares I need to study and what particular knowledge I should have. I'm not new to programming so do you think it will be …

Member Avatar for kal_crazy
0
210
Member Avatar for sarovarc

Hello, I am look for some help with a query where the query changes on the basis of input parameters. Like $variable = 'abc'; $rs=mysql_query("SELECT * FROM table WHERE `column`='$variable'"); But what about a scenario where this variable is not assigned or is null or blank. In that case I'd …

Member Avatar for bops
0
145
Member Avatar for 0773247886
Member Avatar for vijayan121
0
170
Member Avatar for dot_binary

Hello! After I compile and run my program a windows error message shows up, it doesn't give some specific information it's just a standard windows xp error that asks me to send report. It gives me the error because in my code I have some basic math like this: int …

Member Avatar for dot_binary
0
296
Member Avatar for sara5454

hi everyone i create a simple program on dev++ but always a message error exist ps: im a debutante :/ plz help ! #include<stdio.h> #include <iostream> int main () {int a,b; __asm__ __volatile__ ("load a \n\t" "cmp b \n\t" "jb etq1 \n\t" "jmp etq2 \n\t" "etq1 load b \n\t" "etq2 …

Member Avatar for mike_2000_17
0
543
Member Avatar for nuclear

Just wanted to know if we need to texture map the texture on the model with code or is it better to just import a model with textures already on him? (considering its even possible)

Member Avatar for mike_2000_17
0
196
Member Avatar for KRUX17

Hi, I was wondering is there a way where you can sell limited tickets. For example there are 55 seats in a bus and 55 people bought the tickets for the bus,the people who want to buy those tickets for the bus must wait for an hour. How would I …

Member Avatar for KRUX17
0
245
Member Avatar for thecoolman5

hi, I am trying to make a variable equation solver using DEV-C++. I just need to know how to get C++ to solve an equation inputed by the user. So you input something like 1+1 and i need it to solve the problem and output the answer. heres an example: …

Member Avatar for eddiecrosby
0
4K
Member Avatar for thecoolman5

hi, I have this code: [CODE]#include<iostream> #include<cstdio> #include<sstream> using namespace std; int main (char argc) {        float n1;        char operators;        string n2;        float n2_act;        float ans;        cin >> n1;        …

Member Avatar for thecoolman5
0
265
Member Avatar for IcantC

Hi there, I am trying to compile devcpp project that contains one source file helloworld.cpp [CODE] #include <iostream> using namespace std; int main () { cout << "Hello World!"; system("PAUSE"); return 0; }[/CODE] I get this error: [ICODE] C:\Dev-Cpp\Makefile.win [Build Error] [helloworld.o] Error 1 [/ICODE] Compile log is as follows: …

0
131
Member Avatar for thecoolman5

hi, i am trying to make a weight watchers program and heres my code: [CODE]#include<iostream> #include<fstream> #include<conio.h> #include<cstdio> #include<windows.h> using namespace std; int main (char argc) { for(;;) { system("cls"); ifstream r; r.open("cdaily.txt"); double r1; r >> r1; r.close(); ifstream r2; r2.open("cweekly.txt"); double r3; r2 >> r3; r2.close(); cout << …

Member Avatar for VernonDozier
0
262
Member Avatar for thecoolman5

Hi, I am trying to make a one octave piano. heres my code: [CODE]#include<windows.h> #include<mmsystem.h> #include<stdlib.h> /* Declare Windows procedure */ LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM); /* Make the class name into a global variable */ char szClassName[ ] = "WindowsApp"; int WINAPI WinMain (HINSTANCE hThisInstance, HINSTANCE hPrevInstance, …

Member Avatar for thecoolman5
0
1K
Member Avatar for thecoolman5

hi, i am writing a program for my dad. I want it to keep the mouse in x=500 y=500 while waiting for input. So its asking for the password and if you try to move the mouse, it'll put the mouse back in x=500 and y=500 and have keep looping …

Member Avatar for pseudorandom21
0
648
Member Avatar for thecoolman5

Hi, i am trying to make a BMI calulator and here is my code: [CODE]#include<iostream> #include<sstream> #include<fstream.h> using namespace std; int main (char argc) { double ff1; double ii1; double ww1; for(;;) { system("cls"); cout << "Enter feet." << endl; string f1; cin >> f1; stringstream(f1) >> ff1; if(ff1 >! …

Member Avatar for thecoolman5
0
955
Member Avatar for thecoolman5

Hi, I am using DEV-C++ and i am wondering how to declare variables in a windows project. I am trying to make a calculator and i need it to declare a variable a certain number when you press a button. I also need it to declare a char after you …

Member Avatar for thecoolman5
0
178
Member Avatar for thecoolman5

hi, i am just wondering how to open a picture of a normal format. I know that you cant do it in the console. And i am using the compiler DEV-C++. Thanks

Member Avatar for mike_2000_17
0
322
Member Avatar for thecoolman5

hi, i am trying to make a calculator and i have this code [CODE]#include<iostream> #include<sstream> using namespace std; int main (char argc) { int l = 1; for(l = l; l > 0; l--) { int q = -2; string n1 = "1+5"; int n; int e; stringstream(n1[q=q+2]) >> n; …

Member Avatar for mike_2000_17
0
1K
Member Avatar for thecoolman5

hi, i am writing a program that keeps track of the money in my debit card account. i need the program to be able to pull out a value (such as 1.56356) from a text file, round it to the nearest hundredth, and put it back into the file. any …

Member Avatar for m4ster_r0shi
0
464
Member Avatar for thecoolman5

hi, i have this code [CODE]#include <fstream.h> #include<iostream> using namespace std; int main (char argc) { for(;;) { fstream file; file.open("file.txt"); cout << "Enter new high score." << endl; double n2; cin >> n2; double n1; file >> n1; if(n1 > n2) { cout << "You didn't beat the high …

Member Avatar for thecoolman5
0
1K
Member Avatar for thecoolman5

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.

Member Avatar for thecoolman5
0
876
Member Avatar for thecoolman5

hi, i am using DEV-C++ and i have two problems with this code: [CODE]#include<iostream> #include<string> #include<sstream> using namespace std; int main (char argc) { string n1; getline(cin,n1); int len; len = n1.length(); int len1 = -2; int len2 = -1; for(int t = len; t>0; t--) { len1 = len1 …

Member Avatar for thecoolman5
0
576
Member Avatar for thecoolman5

hi, i have this code: [CODE]#include <iostream> #include <fstream> #include<cstdio> #include<cstdlib> using namespace std; int main (char argc) { for(;;) { fstream myfile; myfile.open("example.txt"); cout << "1: Write" << endl; cout << "2: Read" << endl; int n1; cin >> n1; if(n1 == 1) { string n2; getline(cin,n2); myfile << …

Member Avatar for raptr_dflo
0
2K
Member Avatar for ishaangt

i am working on an encoder nad i have developed a way to encode my message in terms of (x,y) coordinates..but i have to put these locations on a world map to strengthen my encoder.... im using dev c++ 4.9.9.2 and need a gui base coding for my c++ program …

Member Avatar for ishaangt
0
166
Member Avatar for Progr4mmer

I'm trying to make a program where you enter the number you want to find primes up to which then lists all the primes up to that number... But I enter 100 then it just sits there... Here's my code so far: [CODE]#include <iostream> #include <cmath> int prime(int); int main() …

Member Avatar for Progr4mmer
0
178
Member Avatar for slimjimmer

Not sure if this is the right place for this, but here we go. Basically I would like to get back into building websites, but I have no idea which dev tools to use. I haven't built a website for about 5 years ago and then I was using Microsoft …

Member Avatar for benwilliams
0
214
Member Avatar for beejay321

so for my computing project we have just started to work with using input and output of text files, the tutorial my teacher gave said to include these libraries, which i did [CODE]#inclue <fstream> #include <iomanip>[/CODE] and explains how to use [CODE] ifstream fin; //fin is my file input variable …

Member Avatar for beejay321
0
324
Member Avatar for vedel

Hey guys, it is possible to program a speech recognition in C++ without the Microsoft Speech SDK?

Member Avatar for jonsca
0
111

The End.