199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for zandiago

Good day to all of you who assisted me. I never thought I'd pass this class, but with all your help, I made it. This is the only C++ course that I needed...so I really wont have any c++ questions to post around here to bug anyone...but i'll still hang …

Member Avatar for zandiago
2
95
Member Avatar for tech2chill

wap to print following pattern?? [code] ABCDEFGFEDCBA ABCDEF FEDCBA ABCDE EDCBA ABCD DCBA ABC CBA AB BA A A [/code] the pattern is not showin up proper,,but hope u guys get it.. its kinda /\ shape formation b/w those letters this is wat i tried out..... int i,j....; int m=65; …

Member Avatar for tech2chill
2
480
Member Avatar for Narue

I've been writing my own implementation of stdio.h whenever I get a few spare minutes recently. Nothing fancy or thorough, and without wide character support, it's hardly conforming. But I was looking at one of my intermediate versions of printf and could only marvel at how ugly it was. So …

Member Avatar for Duoas
2
178
Member Avatar for gaowei

[code=c] /***头文件(.h)****/ #include "stdio.h" /*I/O函数*/ #include "stdlib.h" /*其它说明*/ #include "string.h" /*字符串函数*/ #include "conio.h" /*屏幕操作函数*/ #include "mem.h" /*内存操作函数*/ #include "ctype.h" /*字符操作函数*/ #include "alloc.h" /*动态地址分配函数*/ #define N 10 typedef struct nw /*定义数据结构*/ { char word; /*生词*/ char acceptation; /*词义*/ char aspirate; /*音标*/ int no[N]; /*序号*/ char note; /*注释(包括词性,例句等)*/ struct nw *next; }NEWWORD; …

Member Avatar for Aia
2
177
Member Avatar for ShawnCplus

For those of you who haven't heard of or used AutoHotKey check it out here [URL="http://www.autohotkey.com/"]http://www.autohotkey.com[/URL] for the rest of you I made a really simple script for Dev-C++ to add some speed to it. (I had more in the script but they were things only I would remember and …

Member Avatar for ShawnCplus
2
167
Member Avatar for peter brown

One large chemical company pays its salespeople on a commision basis. The sales people receive $200 per week plus 9 percent of their gross sales for the week. For example a sells person who sells $5000 worth of chemicals in a week receive $200 plus 9 percent of $5000, or …

Member Avatar for ~s.o.s~
2
1K
Member Avatar for rati

hi can anyone tell me please what is segmented error , i have made a program in c on linux and when i am running it after compiling , after a few inputs it shows segmwntwd erroe. what is this??:?:

Member Avatar for rati
2
91
Member Avatar for ssowmya

Hi, Hi friends i am new to this site.Am happy to tell you guys out there that i liked this site and all the effort that everyone has put to keep this site going. Now coming to the point,i need to decide on a project possibly in c/c++/java which is …

Member Avatar for Grunt
2
966
Member Avatar for the.future.zone

Hello guys. Thanks for the help in the previous posts. This one is regarding pointers in C language. Does 1) c = *a and 2) *a = c mean the same thing? I think they are. Are they? Thanks for the reply.

Member Avatar for ~s.o.s~
2
119
Member Avatar for hygy486

[COLOR=#000000]Write the following functions[/COLOR] [COLOR=#000000][B] [/B]draw_circle – draws a circle[/COLOR] [COLOR=#000000] draw_intersect – draws intersecting lines[/COLOR] [COLOR=#000000] draw_base – draws a base line[/COLOR] [COLOR=#000000] draw_triangle – draws triangle using intersecting lines and base line[/COLOR] [COLOR=#000000] draw_rectangle – using baseline and parallel lines[/COLOR] [COLOR=#000000] skip_5_lines – skips five lines between each …

Member Avatar for Ancient Dragon
2
204
Member Avatar for comp_sci11

can somone help me! where can i find a turbo C compiler that has a BGI! Coz i have a program that have some graphics but i can't run it through my compiler coz it doesn't have a BGI! is there someone who knows where i can find a complete …

Member Avatar for ~s.o.s~
2
169
Member Avatar for kimw

i have a string that i want to convert to double. i know atof is a standard library function for that, however, the input argument to atof is (const char*), not string type that i have. does anyone know how i might convert my string num to double ? thanks …

Member Avatar for Dave Sinkula
2
303
Member Avatar for vidya_m

can anyone suggest some websites which has code snippets for creating shopping carts using jsp, servlets and javabeans. I am seriously looking for a career in J2EE. pls help Thanks

Member Avatar for aniseed
2
384
Member Avatar for bumsfeld

I know that lambda is some kind of function in Python. What does it do? Why would one use it?

Member Avatar for vegaseat
2
412
Member Avatar for ajeshantony1

hai , i am doing my final year project work. It is about buliding an Interactive voice response system. I have chosen VB and Oracle 8i as my tools. i want to know whether i can develop an implement an IVR using Vb 6.0 or not. If so how to …

Member Avatar for Comatose
2
548
Member Avatar for f_escobar82

I am writing a Win32 Console application and I need to change the font size to 18x10 pixels. I think this can be done with a function in windows.h but Im not sure which one or how to do it.

Member Avatar for kc0arf
2
4K
Member Avatar for freesoft_2000

Hi everyone, I just came home from a software conference in nagoya, Japan where they had any kind of software you can think of on this planet. There was one talk i went for and i think its quite interesting to have it discussed fully here. Alot of the companies …

Member Avatar for alc6379
2
2K
Member Avatar for steve-parker.or

Shameless plug: [url]http://steve-parker.org/sh/sh.shtml[/url] A bourne Shell Programming/Scripting Tutorial for learning about using the Unix shell. Centres on the Bourne shell, but mentions when bash differs. Does not cover ksh/csh (considered harmful). Applies to UNIX and Linux.

2
497
Member Avatar for iamhe

This is giving me a headache...can someone please tell me why these statements ARE NOT equivalent? Statement 1.) if(running_result && shell[8 * (x - 1) + (y - 1)].input_val) running_result = true; else running_result = false; Statement 2.) running_result &= shell[8 * (x - 1) + (y - 1)].input_val; ------------------------- …

Member Avatar for iamhe
2
167
Member Avatar for damionspencer

:mad: :mad: :( :( I've been trying to write this program that is suppose to read in a text file manipulate in and give the following out put infact here is the question Implement a program that uses a form-letter template to generate form letters. Your program should read in …

Member Avatar for Dave Sinkula
2
180
Member Avatar for big buc's fan

This might be a oversight by me but when I compile and the programs runs I get this error:park.cpp(11) : error C2065:'hours' : undeclared identifier [B]if (hours<=3)[/B] this is code from my program park.cpp(34) : error C2447: missing function header (old-style formal list?) What is this------->(old-style formal list?) Maybe I'm …

Member Avatar for frrossk
2
451
Member Avatar for apurva agarwal

insert a node in circular link list without traversing it. :?: you have to insert the node at any place "without traversing it help me out!!! in this

Member Avatar for Chainsaw
2
163
Member Avatar for Dani

The attached program performs a QuickSort in C++ which sorts an array of structs based on their data members. Basically, it sorts an array of coordinates based on their distance from the origin.

Member Avatar for Chainsaw
2
428
Member Avatar for Blood Night

Crazy notions Time Limit: 1.0 second Memory Limit: 1 000 КБ For five days robot-loader JK546L54p has been buried under the thick layer of the Sibelian plutonium slag. The terrible strike of the atmospheric electricity has led to the depressurization of the robot’s fuel elements. Who will examine this heap …

Member Avatar for Fili
2
262
Member Avatar for Neofite

I have an interest in learning a programming language in order to write programs to manipulate a fairly large set of numbers. For instance, I would like to write a programs to sort and maniuplate in various ways different baseball statistics on all of the active players in the last …

Member Avatar for FireNet
2
198
Member Avatar for mrprimo55

Hey I have this program that I'm having some trouble figuring out so maybe someone can give me some helpfuls hints. Here goes: I have to find all numbers between 1 to 999 who when their digits are cubed individually and then all added together, equal the original number. For …

Member Avatar for Dave Sinkula
2
150
Member Avatar for dooda man

[COLOR=Navy][/COLOR]hii, i am computer science student and i am doing win console application program "Project" by c++ compiler "mic visiual 6", the project is like a small data base which stores student names and thier grades and search for names, add, delete,edit and other things. i am asking if i …

Member Avatar for FireNet
2
517
Member Avatar for Peewee

Well I have looked around the forums. But I cant find the answer to my question. It has been asked many a time. Im a complete novice to the world of programming (I am, lololol) I am trying to decide which path to go down, c, c++, vb, etc. Please …

Member Avatar for Slade
2
320
Member Avatar for meff_04

:rolleyes: right, im goin 2 sound like a right dunce now but here goes... what exactly is Visual C++? i've found things about it, but nothing which is easy to understand. any help would be appreciated

Member Avatar for meabed
2
313
Member Avatar for priya

Hello everyone, iam a new one into this forum. Can anyone tell about what is the significance of programming c in UNIX

Member Avatar for alc6379
2
86
Member Avatar for Lost Chyld

I'm working on a program with menus, but I don't know how to clear the screen before displaying the next menu.

Member Avatar for wildrider30
2
221
Member Avatar for ctlajoie

"difference patching" is my word for the method used by patch makers that take only the differences in two files, and apply them to a patch file. RTPatch is an example of a program that does this. I've been trying to create one myself, but I'm stuck on the logic. …

Member Avatar for BountyX
2
417
Member Avatar for pablojim

I have just written some classes in visual c++ with MFC that give me out data I want to plot in excel. Are there any tutorials out there that will help me write a macro in excel that will pass the data to my classes then read the results given …

Member Avatar for BountyX
2
576
Member Avatar for popo_prince

////having trouble with this one after first input starts a crazy loop malf. #include <iostream.h> #include <conio.h> const int MAX_ITEMS = 5; typedef int InventoryArray[MAX_ITEMS]; void DisplayOpeningMessage(); void DisplayEndMessage(); void OutputInventory(const InventoryArray items); // const used to protect the array from being changed void InputInventory(InventoryArray items); void ProcessChoices(); void OutputOneInventoryAmount(int …

Member Avatar for BountyX
2
179
Member Avatar for Mazon

Hello! To those who may be interested, my name is Matt. =o] Now, lets cut down to brass tacks. Yes, I agree nickle tacks are much more colorful in the world of style, however I perfer brass. A while ago, (long while =oX) I began working on a browser-based PHP …

Member Avatar for Da_fLaRe
2
263
Member Avatar for rickykoh1983
Member Avatar for Dani
Member Avatar for Dani

In my increasingly futile attempt to remain using the now-defunct CodeIgniter 3 framework, I came across something that I figure might be worth sharing in case anyone else is maintaining older PHP codebases and suddenly things start breaking after a PHP upgrade. With PHP 8.2, there’s a new warning that’s …

Member Avatar for Dani
1
66
Member Avatar for Dani

What are some best practices for optimizing memory management when working with large datasets? I am tagging this topic both with php (because that is my language of choice, and the one I work with big data with) as well as c++ (because I know DaniWeb has a large low …

Member Avatar for ThinkWriteGrow
1
201
Member Avatar for Montasser_1

I try to remove the last character from a string with Japanese text and emojis using this code: <?php $text = "私の名前はダバーです👩‍🚀"; $new_text = substr($text, 0, strlen($text) - 1); echo $new_text; The output breaks the characters and shows garbage. How do I fix this?

Member Avatar for Montasser_1
1
56
Member Avatar for Steph102

Hi everyone. I am just learning Python on class so I am really at the basic. I need to write a python program that will flip a coin 100 times and then tell how many times tails and heads were flipped. This is what I have so far but I …

Member Avatar for Reverend Jim
1
16K
Member Avatar for dimitrilc

## Introduction ## In a previous tutorial, we learned [how to create a notification on Android](https://www.daniweb.com/programming/mobile-development/tutorials/536756/android-native-how-to-create-a-notification#post2282507). In that tutorial, we did not have to request any permission because applications did not need permission to post notifications on Android 12 and below. It has been almost a year since the release …

Member Avatar for Erussuhsh
1
659
Member Avatar for jackwells

Hello, fellow coders, I'm relatively new to coding and web development but excited to embark on a project combining my passion and my budding programming skills. I'm eager to create a tool like this https://minecraftcirclegenerate.com/ created using HTML, CSS, and JavaScript. As a beginner, I'm seeking guidance on where to …

Member Avatar for b_985
1
96
Member Avatar for Marcus_8

Hi everyone, I'm getting a 401 Unauthorized error when trying to call the Management API from my web app. I've already checked my token, headers, and API endpoint, but nothing seems to work. However, I’m still confused and can’t figure out where exactly I’m going wrong. I feel like the …

Member Avatar for Dani
1
55
Member Avatar for lennyli

I have tried to read https://www.daniweb.com/programming/web-development/threads/386380/cannot-run-exe-files-in-asp-net-application but still lost in trying to achieve something. I installed the latest .net framework, and IIS on the latest updated windows 11. I wish to achieve the following: Have a webpage with a button, when pressed, it will launch a webpage that runs a …

Member Avatar for Dani
1
186
Member Avatar for Dani

As you may know, yuo can customize the error pages in Cloudflare, such as for a WAF block, etc. For some reason, since the switchover to the new error pages dashboard, the custom font I always use isn't working. I can see that it converted https://cdn.daniweb.com/font.woff into inline base64 for …

Member Avatar for Dani
1
99
Member Avatar for lojoxi

Hi Everyone, Web development can be both exciting and challenging, but having the right tools makes all the difference. If you're starting out or looking to improve your workflow, consider using popular frameworks like React or Vue for streamlined front-end development. On the back end, Node.js and Django are solid …

Member Avatar for JackRyan248
1
251
Member Avatar for Dani

Just as the topic title suggests, any jQuery 4 beta users out there who could let me know what it's like? The wait for v4 gold release is killing me. Also, please don't make fun of me for being a jQuery user. DaniWeb has been built on jQuery for decades. …

Member Avatar for Dani
1
372
Member Avatar for Krisha03

Hello There, I am looking for MUI React-based admin template in the TypeScript version for my project. Can you guys suggest some React Admin templates that are comprehensive and easy to use? I really appreciate any help you can provide.!

Member Avatar for Pelorus_1
1
250
Member Avatar for James_228

I’ve been working on a mid-size React project and started noticing performance lags and bloated component trees. I optimized a few things like: Using useMemo() and useCallback() smartly (but not overusing) Breaking components into smaller reusable ones Lazy loading routes and components But I’d love to know: What are your …

1
36

The End.