Hi all, I have already used InitGraph and have given the path(C:\\TC\BGI) in Initgraph and checked the Graphics option in Linker Options. Still Iam getting this error. I want a solution. Can somebody pls help me. Its urgent.

Member Avatar
Member Avatar
-1 forum 35

Greetings. I was standing beside my notebook PC when the screen suddenly went blank. I thought it odd that the screen would blank when it was still on, so I attempted to reboot. No luck. The lights come on and it sounds like it accesses some internal components for a brief moment, then the fan kicks on, then nothing. The screen never flickers, no beeps, nada. Ctrl+Alt+Del won't force a restart. I'm running XP Home edition (but it seems like a hardware issue to me). How can I diagnose the problem? Is it the screen, or do I maybe have …

Member Avatar
Member Avatar
-2 forum 14

Hi, I am trying to find 2nd largest number that given input of numbers. The question is actually consider that you enter 5 number : 60, 70, 30, 40, 55 randomly -the order does not matter- my function should find 2nd largest number and return it. I am trying but I did not manage to finish my code and actually I can not a way to find true algorithm for this question. The rule is -I know already how I can find max or min number in array, it is simple- [B]you do not use any type of array / …

Member Avatar
Member Avatar
+0 forum 8

This simple code shows how to write text with a given font, font size and color using the module pygame ...

Member Avatar
Member Avatar
+4 forum 8

Hi all, Ok - there's nothing like a BIG challenge to start off my exploration into programming. Given that I'm a complete newbie with more build errors than a builder having a bad day (bad pun!), what I'm really looking for is someone to hold my hand a bit and give me a 'janet and john' step-by-step explaination of how to do this project. I know its asking a lot but if someone could take me under their wing? Thanks. The project is to create an AVI media player. I need it to do much more, but this is the …

Member Avatar
Member Avatar
+0 forum 24

Hi Friends! I have tried to find all possible paths between two nodes; #include <iostream> #include <vector> #include <queue> #include <map> #include "fstream" #define max_edges 16 #define MAX_NODES 5 using namespace std; bool isadjacency_node_not_present_in_current_path(int node,vector<int>pathway); int findpaths(int source ,int target ); void display_all_paths_map(); vector<vector<int> >GRAPH(100); vector<int>pathway; map<int,vector<int>> allpathsmap; map<int,vector<int>>:: iterator itapm; typedef pair<int,vector<int>> pairapm; int main() { int origin,destin,source,dest,l_id; ifstream file1 ("Link_ID.txt"); if (! file1.is_open()) { cout << "Error opening file Link_ID.txt"; } //did not include 'return' for(int i=1;i<=max_edges;i++) { file1 >>origin>>destin>>l_id; GRAPH[origin].push_back(destin); } cout<<"(source, dest)\n"; cin>>source>>dest; findpaths(source,dest); display_all_paths_map(); file1.close(); return 0; } //ADJACENCY NODE NOT PRESENT IN CURRENT PATH …

Member Avatar
+0 forum 0

Hi I am trying to write a code that finds approximations of sine and cosine using the equations below with a given value of theta in degrees basically as a novice programmer i am having trouble setting upa a while loop for the expansions. Also can you guys please quote sources(books,web pages, etc.) for a beginner programmer in python for syntax and basic concepts. cos(x)= 1- x2/2! + x4/4! - x6/6! + .. sin(x)= x - x3/3! + x5/5! - x7/7! + .. Thanks in advance.

Member Avatar
Member Avatar
+0 forum 3

This Program prints the numbers in given array(Row-Major Order) in Spiral order. Ex: Order Is 3*4 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 Spiral Order Of Matrix is 11 12 13 14 18 22 26 25 24 23 19 15 16 17 21 20

Member Avatar
Member Avatar
+0 forum 3

Using the Python Image Library (PIL) you can resize an image. Several filters can be specified. ANTIALIAS is best for downsampling, the other filters work better with upsampling (increasing the size). In this code snippet one image of each filter option is saved, so you can compare the quality in your favorite image viewer. Also an alternative to the PIL show() function is given. This way you can avoid the clutter of bitmap files generated by PIL and left behind in your \Local Settings\Temp folder.

Member Avatar
Member Avatar
+0 forum 14

I need a help in generating ideas to create a program using stack+queue. Real life example of stack+queue is needed. Pleaseeeee?

Member Avatar
Member Avatar
+0 forum 1

**how to draw a line in c program given the slope and intercept of the line**

Member Avatar
Member Avatar
+0 forum 6

The End.